We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CFILES
1 parent e199eb6 commit 825ab00Copy full SHA for 825ab00
Makefile
@@ -1,6 +1,8 @@
1
+CFILES := Bitmap.c Quantize.c Dither.c Qualetize.c Tiles.c tilequant.c
2
+
3
all:
4
mkdir -p release
- $(CC) -lm -O2 -Wall -Wextra Bitmap.c Quantize.c Qualetize.c Tiles.c tilequant.c -o release/tilequant
5
+ $(CC) -lm -O2 -Wall -Wextra $(CFILES) -o release/tilequant
6
7
UNAME := $(shell uname)
8
@@ -18,8 +20,7 @@ endif
18
20
19
21
dll:
22
- $(CC) -c -lm -O2 -Wall -fPIC -Wextra Bitmap.c Quantize.c Qualetize.c Tiles.c tilequantDLL.c -DDECLSPEC="$(DDECLSPEC)"
- $(CC) -shared -o release/$(TARGET) tilequantDLL.o Bitmap.o Quantize.o Qualetize.o Tiles.o
23
+ $(CC) -shared -o release/$(TARGET) -lm -O2 -Wall -fPIC -Wextra $(CFILES) -DDECLSPEC="$(DDECLSPEC)"
24
25
.PHONY: clean
26
clean:
0 commit comments