forked from flanchan/doushio
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.
16 lines
284 B
16 lines
284 B
6 years ago
|
all: findapng perceptual
|
||
|
|
||
|
PNGFLAGS := $(shell pkg-config libpng --cflags)
|
||
|
PNGLIBS := $(shell pkg-config libpng --libs)
|
||
|
|
||
|
findapng: findapng.c
|
||
|
gcc -O2 $(PNGFLAGS) -o $@ $^ $(PNGLIBS)
|
||
|
|
||
|
perceptual: perceptual.c
|
||
|
gcc -O2 -o $@ $^
|
||
|
|
||
|
.PHONY: all clean
|
||
|
|
||
|
clean:
|
||
|
rm -rf -- findapng perceptual
|