aboutsummaryrefslogtreecommitdiffstats
path: root/service/src/Makefile
diff options
context:
space:
mode:
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)