From 7015245de4af673af3e6fa62d5d0f9c2e0c2a8a1 Mon Sep 17 00:00:00 2001 From: jonas Date: Thu, 27 Dec 2018 00:26:34 +0100 Subject: cleaned working tree --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..132f2ec --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +CC = /usr/bin/g++ +CFLAGS = -Wall -g +LDFLAGS = -lm -lcurses +OUTPUT = bin/Engine + +OBJ = main.o cObject.o cObjectHandler.o cRender.o cInput.o + +prog: $(OBJ) + $(CC) $(CFLAGS) -o $(OUTPUT) $(OBJ) $(LDFLAGS) + +%.o: %.cpp + $(CC) $(CFLAGS) -c $< + +.PHONY: clean + +clean: + rm -f $(OUTPUT) *.o -- cgit v1.2.3