mirror of https://github.com/0intro/conterm
accomodate bsd, x
This commit is contained in:
parent
f59c506336
commit
c5ee3aadd7
|
@ -4,12 +4,13 @@ PTHREAD=-pthread
|
|||
AR=ar
|
||||
AS=as
|
||||
RANLIB=ranlib
|
||||
X11=/usr/X11R6
|
||||
CC=gcc
|
||||
CFLAGS=-Wall -Wno-missing-braces -ggdb -I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -D_THREAD_SAFE $(PTHREAD) -O2
|
||||
CFLAGS=-Wall -Wno-missing-braces -ggdb -I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -I$(X11)/include -D_THREAD_SAFE $(PTHREAD) -O2
|
||||
O=o
|
||||
OS=posix
|
||||
GUI=x11
|
||||
LDADD=-L/usr/X11R6/lib -lX11 -ggdb
|
||||
LDADD=-L$(X11)/lib -lX11 -ggdb
|
||||
LDFLAGS=$(PTHREAD)
|
||||
TARG=drawterm
|
||||
|
||||
|
|
|
@ -15,6 +15,3 @@ $(LIB): $(OFILES)
|
|||
$(AR) r $(LIB) $(OFILES)
|
||||
$(RANLIB) $(LIB)
|
||||
|
||||
%.$O: %.c
|
||||
$(CC) $(CFLAGS) $*.c
|
||||
|
||||
|
|
Loading…
Reference in New Issue