From 58bef85206c7cce153400e51b247e2476e9e65a4 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Tue, 12 Jan 2016 20:41:56 +1300 Subject: Initial commit of rough-arse Tetris --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..545347b --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +include config.mk + +all: tetris + +tetris: tetris.o plot.o + $(CC) -o $@ $^ $(LDFLAGS) + +%.o: %.c + $(CC) -c -o $@ $< $(CFLAGS) + +clean: + rm -f tetris + find -name "*.o" -delete + +.PHONY: all clean -- cgit v1.1