diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
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 |