20 lines · 377 B · Text
RawDownload
 # this works in gnu makeSYSNAME:=${shell uname}OBJTYPE:=${shell uname -m | sed 's;i.86;386;; s;/.*;;; s; ;;g'} # this works in bsd makeSYSNAME!=unameOBJTYPE!=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=