From: Steinar H. Gunderson Date: Mon, 1 Oct 2012 10:11:20 +0000 (+0200) Subject: Add a Makefile. X-Git-Tag: 1.0~488 X-Git-Url: https://git.sesse.net/?p=movit;a=commitdiff_plain;h=67b55f9d3843b1d8624222a7afc2bc0d855f3e7a;ds=sidebyside Add a Makefile. --- diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8e35cfa --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +CC=gcc +CFLAGS=-std=gnu99 -Wall +LDFLAGS=-lSDL -lSDL_image -lGL + +test: test.o + $(CC) -o test test.o $(LDFLAGS) + +.o: .c + $(CC) $(CXXFLAGS) $(CCFLAGS) -o $@ $< + +clean: + $(RM) test test.o + +.PHONY: clean