aboutsummaryrefslogtreecommitdiffstats
path: root/simple_game/Makefile
blob: d37d48f0dd9cc903d330fdefb77ac7098312711b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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)