mirror of
https://framagit.org/bortzmeyer/echoping
synced 2024-11-15 00:12:48 +00:00
Better handling of external options (such as -I)
This commit is contained in:
parent
4ba858f7db
commit
06732699ea
@ -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 $@ $<
|
||||
|
Loading…
Reference in New Issue
Block a user