Better handling of external options (such as -I)

This commit is contained in:
Stephane Bortzmeyer 2007-04-04 19:51:04 +00:00
parent 4ba858f7db
commit 06732699ea

View File

@ -1,4 +1,4 @@
CCFLAGS=-Wall -O0 -g -fPIC
XCFLAGS=-Wall -O0 -g -fPIC ${CFLAGS}
LDFLAGS=-shared
OBJECTS=daytime.o
@ -6,7 +6,7 @@ OBJECTS=daytime.o
all: daytime.so
%.o: %.c
${CC} ${CCFLAGS} -c -o $@ $<
${CC} ${XCFLAGS} -c -o $@ $<
%.so: %.o
${CC} ${LDFLAGS} -o $@ $<