aboutsummaryrefslogtreecommitdiffstats
path: root/service/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'service/src/Makefile')
-rw-r--r--service/src/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/service/src/Makefile b/service/src/Makefile
index 73cc507..6b981a2 100644
--- a/service/src/Makefile
+++ b/service/src/Makefile
@@ -1,3 +1,4 @@
+CFLAGS = -g -I .
.PHONY: all clean
@@ -7,7 +8,7 @@ clean:
rm -f printdoc *.o
%.o: %.c %.h
- $(CC) -c -o $@ $< -I .
+ $(CC) -c -o $@ $< $(CFLAGS) $(LDLIBS)
printdoc: printdoc.c stlfile.o util.o
$(CC) -o $@ $^ $(CFLAGS) $(LDLIBS)