aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 377d98e..bb4dfb2 100644
--- a/Makefile
+++ b/Makefile
@@ -124,6 +124,13 @@ obj/%.o: src/%.c src/*.h
mkdir -p $(shell dirname $@)
$(CC) $(LIB_FLAGS) $(LIBS_C) -fPIC -c -o $@ $<
+obj/%.o: obj/%.c src/*.h
+ $(CC) $(LIB_FLAGS) $(LIBS_C) -fPIC -iquote"src" -c -o $@ $<
+
+obj/%: src/%.gpp
+ mkdir -p $(shell dirname $@)
+ $(GPP) --symbol '£' --input $< --output $@
+
.PHONY: test
test: bin/test