From bdd8d563ff3f0eec41cc45d07f6c00622a531a72 Mon Sep 17 00:00:00 2001 From: nathansmith117 Date: Tue, 21 May 2024 22:51:55 -0600 Subject: first commit --- simple_game/Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 simple_game/Makefile (limited to 'simple_game/Makefile') diff --git a/simple_game/Makefile b/simple_game/Makefile new file mode 100644 index 0000000..d37d48f --- /dev/null +++ b/simple_game/Makefile @@ -0,0 +1,13 @@ +FLCON = fltk-config +COMPILER = $(shell $(FLCON) --cxx) +CFLAGS = $(shell $(FLCON) --use-images --cxxflags) +LDFLAGS = $(shell $(FLCON) --use-images --ldstaticflags) -static-libstdc++ -static-libgcc + +TARGET = simple_game + +$(TARGET): $(TARGET).cpp + $(COMPILER) $(CFLAGS) -o $(TARGET) $(TARGET).cpp $(LDFLAGS) +debug: + $(COMPILER) $(CFLAGS) -o $(TARGET) $(TARGET).cpp $(LDFLAGS) -g +clean: + rm $(TARGET) -- cgit v1.2.3