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