added SDL tests
[glpixels] / Makefile.sdl
diff --git a/Makefile.sdl b/Makefile.sdl
new file mode 100644 (file)
index 0000000..c8c4405
--- /dev/null
@@ -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)