aboutsummaryrefslogtreecommitdiffstats
path: root/service/src/Makefile
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2021-05-03 23:44:36 +0200
committerLouis Burda <quent.burda@gmail.com>2021-05-03 23:44:36 +0200
commit93107ebd417e75efed4e2173feeea1030ce6cd02 (patch)
tree5385d62e06f751674878d532144e0add67a45ad9 /service/src/Makefile
parent80b190c66dab551b75db790df86efaffe0f86671 (diff)
downloadenowars5-service-stldoctor-93107ebd417e75efed4e2173feeea1030ce6cd02.tar.gz
enowars5-service-stldoctor-93107ebd417e75efed4e2173feeea1030ce6cd02.zip
improved parsing for ascii stl and added sample file for testing
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)