X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=Makefile.sdl;fp=Makefile.sdl;h=c8c44059e79615bbe863a948f332535c24b3e3e9;hb=e1c0a3963cd5ce16b614e9e060bd0468f3aa01f1;hp=0000000000000000000000000000000000000000;hpb=fcb01b3da1a4bc51482e67b88b7c59dc5c8b7578;p=glpixels diff --git a/Makefile.sdl b/Makefile.sdl new file mode 100644 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)