summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..f3be181
--- /dev/null
+++ b/makefile
@@ -0,0 +1,15 @@
1include config.mk
2
3bin/gmc-app: obj/app.o | bin
4 c++ $(LDFLAGS) $^ -o $@
5
6obj/%.o: src/%.cpp | obj
7 c++ $(CPPFLAGS) -c $< -o $@
8
9bin obj:
10 mkdir -p $@
11
12clean:
13 rm -rf bin obj
14
15.PHONY: all clean