Browse Source

* Makefile

master
Alex 'AdUser' Z 10 years ago
parent
commit
4b104265c4
  1. 6
      src/Makefile

6
src/Makefile

@ -11,9 +11,9 @@ lib: database.o bitmap.o
gcc $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -shared -o libimgdup.so $^
ar rcs libimgdup.a $^
util: util.c
gcc $(CFLAGS) $(CPPFLAGS) -L. $^ -limgdup -o $@
gcc $(CFLAGS) $(CPPFLAGS) -L. $^ libimgdup.a -o $@-static -static
util: util.c lib
gcc $(CFLAGS) $(CPPFLAGS) -L. $< -limgdup -o $@
gcc $(CFLAGS) $(CPPFLAGS) -L. $< libimgdup.a -o $@-static -static
imdb_1to2: imdb_1to2.c
gcc $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $^

Loading…
Cancel
Save