moving to RLE sprites instead of compiled sprites
[eradicate] / tools / rlesprite / Makefile
diff --git a/tools/rlesprite/Makefile b/tools/rlesprite/Makefile
new file mode 100644 (file)
index 0000000..77daec7
--- /dev/null
@@ -0,0 +1,13 @@
+src = $(wildcard src/*.c)
+obj = $(src:.c=.o)
+bin = rlesprite
+
+CFLAGS = -pedantic -Wall -g
+LDFLAGS = -lpng -lz
+
+$(bin): $(obj)
+       $(CC) -o $@ $(obj) $(LDFLAGS)
+
+.PHONY: clean
+clean:
+       rm -f $(obj) $(bin)