add missing tools/pngdump to the repo
[gbajam22] / tools / pngdump / Makefile
diff --git a/tools/pngdump/Makefile b/tools/pngdump/Makefile
new file mode 100644 (file)
index 0000000..d9b2878
--- /dev/null
@@ -0,0 +1,10 @@
+CFLAGS = -pedantic -Wall -Wno-unused-function -g
+LDFLAGS = -lpng -lz -lm
+
+pngdump: main.o image.o quant.o
+       $(CC) -o $@ $^ $(LDFLAGS)
+
+clean:
+       $(RM) main.o
+       $(RM) image.o
+       $(RM) pngdump