aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-31 05:56:33 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-31 05:56:33 +0200
commit379d69c653fd9c6920ab56d0b8ded7e00b8d6efb (patch)
tree90c8c1af1a2c22c462a6324a25feba2c7d6924d7 /Makefile
parentm (diff)
downloadlibgamma-379d69c653fd9c6920ab56d0b8ded7e00b8d6efb.tar.gz
libgamma-379d69c653fd9c6920ab56d0b8ded7e00b8d6efb.tar.bz2
libgamma-379d69c653fd9c6920ab56d0b8ded7e00b8d6efb.tar.xz
add libgamma_name_of_error and libgamma_value_of_error
Signed-off-by: Mattias Andrée <maandree@operamail.com>
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