projects
/
megadrive_tetris
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tile generator
[megadrive_tetris]
/
tools
/
tilegen
/
Makefile
diff --git a/tools/tilegen/Makefile
b/tools/tilegen/Makefile
new file mode 100644
(file)
index 0000000..
84a1e68
--- /dev/null
+++ b/
tools/tilegen/Makefile
@@ -0,0
+1,13
@@
+src = $(wildcard src/*.c)
+obj = $(src:.c=.o)
+bin = tilegen
+
+CFLAGS = -pedantic -Wall -g
+LDFLAGS = -lGL -lGLU -lglut
+
+$(bin): $(obj)
+ $(CC) -o $@ $(obj) $(LDFLAGS)
+
+.PHONY: clean
+clean:
+ rm -f $(obj) $(bin)