diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-04-02 14:07:09 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-04-02 14:07:09 +0200 |
commit | c09f96fb7d04adb2f4984b9a7c8e18db29ac942d (patch) | |
tree | 16958dfa4da7d562b9db916d3644da6e0e489646 | |
parent | document (diff) | |
download | blueshift-c09f96fb7d04adb2f4984b9a7c8e18db29ac942d.tar.gz blueshift-c09f96fb7d04adb2f4984b9a7c8e18db29ac942d.tar.bz2 blueshift-c09f96fb7d04adb2f4984b9a7c8e18db29ac942d.tar.xz |
update makefile
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -111,7 +111,11 @@ bin/%.so: obj/%.o obj/%_c.o @mkdir -p bin $(CC) $(FLAGS) $$($(PKGCONFIG) --libs $($(LIBS_))) -shared -o $@ $^ -obj/%.o: src/%.c src/%.h +obj/%.o: src/%.c + @mkdir -p obj + $(CC) $(FLAGS) -c -o $@ $< + +obj/%_c.o: src/%_c.c src/%_c.h @mkdir -p obj $(CC) $(FLAGS) -c -o $@ $< |