blob: c004a3c5c0c428ae1b9c49b997380cc5a4b0653b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- apng2gif-1.6-src/Makefile
+++ apng2gif-1.6-src/Makefile
@@ -1,11 +1,10 @@
PACKAGE = apng2gif
-CC = gcc
-CFLAGS = -Wall -pedantic
-CFLAGS_OPT = -O2
+CXX ?= g++
+CFLAGS += -Wall -pedantic
LIBS = -lstdc++ -lm -lpng -lz
all :
- $(CC) $(CFLAGS) $(CFLAGS_OPT) -o apng2gif apng2gif.cpp -s $(LIBS)
+ $(CXX) $(CFLAGS) $(LDFLAGS) -o apng2gif apng2gif.cpp $(LIBS)
.PHONY : clean
|