projects
/
glpixels
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added SDL tests
[glpixels]
/
Makefile.sdl
diff --git a/Makefile.sdl
b/Makefile.sdl
new file mode 100644
(file)
index 0000000..
c8c4405
--- /dev/null
+++ b/
Makefile.sdl
@@ -0,0
+1,12
@@
+obj = sdlpixels.o
+bin = sdlpixels
+
+CFLAGS = -pedantic -Wall -g -O3 `sdl-config --cflags`
+LDFLAGS = `sdl-config --libs` -lm
+
+$(bin): $(obj)
+ $(CC) -o $@ $(obj) $(LDFLAGS)
+
+.PHONY: clean
+clean:
+ rm -f $(obj) $(bin)