mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-18 20:57:56 +00:00
sqlite3.o no longer depends on serval.h for faster recompiles
when changing serval.h
This commit is contained in:
parent
d843e59bd5
commit
788cef0201
@ -17,14 +17,17 @@ DEFS= @DEFS@
|
||||
|
||||
all: serval.c dna libservald.so
|
||||
|
||||
sqlite3.o: sqlite3.c
|
||||
$(CC) $(CFLAGS) $(DEFS) -Wall -c $<
|
||||
|
||||
%.o: %.c $(HDRS)
|
||||
$(CC) $(CFLAGS) $(DEFS) -Os -g -Wall -c $<
|
||||
$(CC) $(CFLAGS) $(DEFS) -Wall -c $<
|
||||
|
||||
dna: $(OBJS)
|
||||
$(CC) $(CFLAGS) -Os -g -Wall -o $@ $(OBJS) $(LDFLAGS)
|
||||
$(CC) $(CFLAGS) -Wall -o $@ $(OBJS) $(LDFLAGS)
|
||||
|
||||
libservald.so: $(OBJS)
|
||||
$(CC) $(CFLAGS) -Os -g -Wall -shared -o $@ $(OBJS) $(LDFLAGS)
|
||||
$(CC) $(CFLAGS) -Wall -shared -o $@ $(OBJS) $(LDFLAGS)
|
||||
|
||||
serval.c: $(SRCS) $(HDRS)
|
||||
cat serval.h > serval.c
|
||||
|
Loading…
Reference in New Issue
Block a user