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