summaryrefslogtreecommitdiff
path: root/libraries/pake/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/pake/makefile')
-rw-r--r--libraries/pake/makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/libraries/pake/makefile b/libraries/pake/makefile
new file mode 100644
index 0000000..28e7d37
--- /dev/null
+++ b/libraries/pake/makefile
@@ -0,0 +1,12 @@
+SOURCES = \
+ widgets/fixed-text.cpp dirtiable-image.cpp window.cpp
+
+build/%.cpp.o: source/%.cpp
+ @mkdir -p $(@D)
+ $(HILBERT_CC) -c $^ -o $@
+
+build/libpake.a: $(SOURCES:%=build/%.o)
+ $(HILBERT_AR) rcs $@ $^
+
+clean:
+ rm -rf build