added SDL tests
[glpixels] / Makefile.sdl2
1 obj = sdl2pixels.o
2 bin = sdl2pixels
3
4 CFLAGS = -pedantic -Wall -g -O3 `sdl2-config --cflags`
5 LDFLAGS = `sdl2-config --libs` -lm
6
7 $(bin): $(obj)
8         $(CC) -o $@ $(obj) $(LDFLAGS)
9
10 .PHONY: clean
11 clean:
12         rm -f $(obj) $(bin)