summaryrefslogtreecommitdiff
path: root/applications/goldman/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'applications/goldman/makefile')
-rw-r--r--applications/goldman/makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/applications/goldman/makefile b/applications/goldman/makefile
new file mode 100644
index 0000000..5b93fe4
--- /dev/null
+++ b/applications/goldman/makefile
@@ -0,0 +1,12 @@
+SOURCES = \
+ main.cpp
+
+build/%.cpp.o: source/%.cpp
+ @mkdir -p $(@D)
+ $(HILBERT_CC) -c $^ -o $@
+
+build/goldman.elf: $(SOURCES:%=build/%.o)
+ $(HILBERT_CC) $^ -o $@
+
+clean:
+ rm -rf build