mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
21 lines
377 B
Text
21 lines
377 B
Text
|
|
||
|
# this works in gnu make
|
||
|
SYSNAME:=${shell uname}
|
||
|
OBJTYPE:=${shell uname -m | sed 's;i.86;386;; s;/.*;;; s; ;;g'}
|
||
|
|
||
|
# this works in bsd make
|
||
|
SYSNAME!=uname
|
||
|
OBJTYPE!=uname -m | sed 's;i.86;386;; s;/.*;;; s; ;;g'
|
||
|
|
||
|
# the gnu rules will mess up bsd but not vice versa,
|
||
|
# hence the gnu rules come first.
|
||
|
|
||
|
include Make.$(SYSNAME)-$(OBJTYPE)
|
||
|
|
||
|
PREFIX=/usr/local
|
||
|
|
||
|
NUKEFILES=
|
||
|
|
||
|
TGZFILES=
|
||
|
|