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.sdl2
diff --git a/Makefile.sdl2
b/Makefile.sdl2
new file mode 100644
(file)
index 0000000..
60e487b
--- /dev/null
+++ b/
Makefile.sdl2
@@ -0,0
+1,12
@@
+obj = sdl2pixels.o
+bin = sdl2pixels
+
+CFLAGS = -pedantic -Wall -g -O3 `sdl2-config --cflags`
+LDFLAGS = `sdl2-config --libs` -lm
+
+$(bin): $(obj)
+ $(CC) -o $@ $(obj) $(LDFLAGS)
+
+.PHONY: clean
+clean:
+ rm -f $(obj) $(bin)