aboutsummaryrefslogtreecommitdiffstats
path: root/service/src/Makefile
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2021-04-29 16:20:38 +0200
committerLouis Burda <quent.burda@gmail.com>2021-04-29 16:20:38 +0200
commit008b5f74235a7fd04852e6f640429269f1ec4845 (patch)
tree7eea7fea892da529fe4f37a437218705a4158ca8 /service/src/Makefile
parent8aac44bb98af5442e29c8cb9a5a4acbe40d96bb2 (diff)
downloadenowars5-service-stldoctor-008b5f74235a7fd04852e6f640429269f1ec4845.tar.gz
enowars5-service-stldoctor-008b5f74235a7fd04852e6f640429269f1ec4845.zip
basic service structure and docker setup
Diffstat (limited to 'service/src/Makefile')
-rw-r--r--service/src/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/service/src/Makefile b/service/src/Makefile
index d3c81bc..15f98e4 100644
--- a/service/src/Makefile
+++ b/service/src/Makefile
@@ -1,6 +1,13 @@
+.PHONY: all clean
+
+all: printdoc
+
+clean:
+ rm -f printdoc *.o
+
%.o: %.c %.h
$(CC) -c -o $@ $< -I .
printdoc: printdoc.c stlfile.o
- $(CC) -o $@ $< $(CFLAGS) $(LDLIBS)
+ $(CC) -o $@ $^ $(CFLAGS) $(LDLIBS)