Blob
1 # this works in gnu make2 SYSNAME:=${shell uname}3 OBJTYPE:=${shell uname -m | sed 's;i.86;386;; s;/.*;;; s; ;;g'}5 # this works in bsd make6 SYSNAME!=uname7 OBJTYPE!=uname -m | sed 's;i.86;386;; s;/.*;;; s; ;;g'9 # the gnu rules will mess up bsd but not vice versa,10 # hence the gnu rules come first.12 X11=/usr/X11R613 LDFLAGS=14 CFLAGS=16 BIN=$(PLAN9)/bin18 include $(PLAN9)/src/Make.$(SYSNAME)-$(OBJTYPE)19 LDFLAGS+=-L$(PLAN9)/lib21 CLEANFILES=*.$O22 NUKEFILES=