projects
/
eradicate
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
tools/rlesprite/Makefile
@@ -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)