Build Unix-friendly versions directly from library.
This commit is contained in:
parent
63dd44c8ca
commit
aa73861453
34 changed files with 966 additions and 0 deletions
20
unix/make/Makefile.TOP
Normal file
20
unix/make/Makefile.TOP
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
|
||||
# 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=
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue