diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-04-15 22:06:56 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-04-15 22:06:56 +0200 |
commit | c78cb17e2a8055f71d210e719e72ace7e9fb7b2e (patch) | |
tree | b763599952d8ae94f6b32f1f2f5aea87e4f764fa /Makefile | |
parent | Cython side of Windows GDI support (diff) | |
download | blueshift-c78cb17e2a8055f71d210e719e72ace7e9fb7b2e.tar.gz blueshift-c78cb17e2a8055f71d210e719e72ace7e9fb7b2e.tar.bz2 blueshift-c78cb17e2a8055f71d210e719e72ace7e9fb7b2e.tar.xz |
fix errors and warnings
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -132,6 +132,10 @@ obj/%.o: src/%.c @mkdir -p obj $(CC) $(FLAGS) $(CWARN) -c -o $@ $< +obj/%.o: src/%.c src/%.h + @mkdir -p obj + $(CC) $(FLAGS) $(CWARN) -c -o $@ $< + obj/%_c.o: src/%_c.c src/%_c.h @mkdir -p obj $(CC) $(FLAGS) $(CWARN) -c -o $@ $< @@ -141,9 +145,11 @@ obj/%.o: obj/%.c $(CC) $(FLAGS) -c -o $@ $< ifeq ($(FAKE_W32),y) -obj/blueshift_w32gdi_c.o: FLAGS+=-DFAKE_W32GDI obj/fake_w32gdi.o obj/fake_w32gdi.h +obj/blueshift_w32gdi_c.o: src/blueshift_w32gdi_c.c src/blueshift_w32gdi_c.h \ + obj/fake_w32gdi.o src/fake_w32gdi.h + @mkdir -p bin + $(CC) $(FLAGS) $$($(PKGCONFIG) --libs $($(LIBS_))) -shared -DFAKE_W32GDI -o $@ $^ endif -obj/fake_w32gdi.o: obj/fake_w32gdi.h # Build rules for Cython source files |