You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
563 B
26 lines
563 B
Index: Makefile |
|
--- Makefile.orig 2016-05-19 18:36:31.000000000 +0200 |
|
+++ Makefile 2016-07-02 11:29:55.472135981 +0200 |
|
@@ -18,11 +18,11 @@ |
|
OBJ += comp-zlib.o |
|
else |
|
OBJ += comp-zopfli.o |
|
-LDFLAGS += -lm |
|
+LIBS += -lm |
|
endif |
|
|
|
CFLAGS ?= -O2 -g |
|
-LDFLAGS += -lz |
|
+LIBS += -lz |
|
|
|
# eg. make WIN32=1 CC=mingw32-gcc RC=mingw32-windres |
|
ifdef WIN32 |
|
@@ -32,7 +32,7 @@ |
|
endif |
|
|
|
ttf2woff$(EXE): $(OBJ) |
|
- $(CC) -o $@ $(OBJ) $(LDFLAGS) |
|
+ $(CC) -o $@ $(OBJ) $(LDFLAGS) $(LIBS) |
|
|
|
ttf2woff.o: ttf2woff.c ttf2woff.h Makefile |
|
$(CC) $(CFLAGS) -DVERSION=$(VERSION) -c ttf2woff.c
|
|
|