plan9port/src/Makehdr

22 lines
426 B
Text
Raw Normal View History

2003-09-30 17:47:41 +00:00
# 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.
2003-09-30 19:05:50 +00:00
X11=/usr/X11R6
LDFLAGS=
CFLAGS=
2003-09-30 17:47:41 +00:00
2003-09-30 19:05:50 +00:00
include $(9SRC)/Make.$(SYSNAME)-$(OBJTYPE)
LDFLAGS+=-L$(9SRC)/lib
2003-09-30 17:47:41 +00:00
2003-09-30 19:05:50 +00:00
CLEANFILES=*.$O
2003-09-30 17:47:41 +00:00
NUKEFILES=