2005-10-31 16:30:23 +01:00
|
|
|
# Unix
|
2005-11-07 18:34:39 +01:00
|
|
|
PTHREAD=
|
|
|
|
#PTHREAD=-pthread
|
2005-10-31 16:30:23 +01:00
|
|
|
AR=ar
|
2005-11-04 17:05:20 +01:00
|
|
|
AS=as
|
2005-10-31 16:30:23 +01:00
|
|
|
RANLIB=ranlib
|
2005-11-07 18:34:39 +01:00
|
|
|
CC=gcc
|
|
|
|
CFLAGS=-Wall -Wno-missing-braces -ggdb -I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -D_THREAD_SAFE $(PTHREAD)
|
2005-10-31 16:30:23 +01:00
|
|
|
O=o
|
|
|
|
OS=posix
|
|
|
|
GUI=x11
|
|
|
|
LDADD=-L/usr/X11R6/lib -lX11 -ggdb
|
2005-11-07 18:34:39 +01:00
|
|
|
LDFLAGS=$(PTHREAD)
|
2005-10-31 16:30:23 +01:00
|
|
|
TARG=drawterm
|
|
|
|
|
2005-11-04 16:47:45 +01:00
|
|
|
all: default
|
|
|
|
|
2005-11-02 16:20:27 +01:00
|
|
|
libmachdep.a:
|
|
|
|
arch=`uname -m|sed 's/i.86/386/;s/Power Macintosh/power/'`; \
|
|
|
|
(cd posix-$$arch && make)
|