mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-20 21:53:12 +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
|
all: serval.c dna libservald.so
|
||||||
|
|
||||||
|
sqlite3.o: sqlite3.c
|
||||||
|
$(CC) $(CFLAGS) $(DEFS) -Wall -c $<
|
||||||
|
|
||||||
%.o: %.c $(HDRS)
|
%.o: %.c $(HDRS)
|
||||||
$(CC) $(CFLAGS) $(DEFS) -Os -g -Wall -c $<
|
$(CC) $(CFLAGS) $(DEFS) -Wall -c $<
|
||||||
|
|
||||||
dna: $(OBJS)
|
dna: $(OBJS)
|
||||||
$(CC) $(CFLAGS) -Os -g -Wall -o $@ $(OBJS) $(LDFLAGS)
|
$(CC) $(CFLAGS) -Wall -o $@ $(OBJS) $(LDFLAGS)
|
||||||
|
|
||||||
libservald.so: $(OBJS)
|
libservald.so: $(OBJS)
|
||||||
$(CC) $(CFLAGS) -Os -g -Wall -shared -o $@ $(OBJS) $(LDFLAGS)
|
$(CC) $(CFLAGS) -Wall -shared -o $@ $(OBJS) $(LDFLAGS)
|
||||||
|
|
||||||
serval.c: $(SRCS) $(HDRS)
|
serval.c: $(SRCS) $(HDRS)
|
||||||
cat serval.h > serval.c
|
cat serval.h > serval.c
|
||||||
|
Loading…
Reference in New Issue
Block a user