diff options
Diffstat (limited to 'src/client/gui/Makefile')
-rw-r--r-- | src/client/gui/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/client/gui/Makefile b/src/client/gui/Makefile new file mode 100644 index 0000000..2bc0969 --- /dev/null +++ b/src/client/gui/Makefile @@ -0,0 +1,18 @@ +CPP = g++ +CPPFLAGS = -Wall -g -lfltk +SOURCES = client.cpp +OBJECTS = $(SOURCES:.cpp=.o) +EXECUTABLE = client + +.PHONY: all clean + +all: $(EXECUTABLE) + +clean: + rm -rf $(OBJECTS) $(EXECUTABLE) + +$(EXECUTABLE): $(OBJECTS) + $(CPP) $(CPPFLAGS) -o $(EXECUTABLE) $(OBJECTS) + +$(OBJECTS): + $(CPP) -c $(CPPFLAGS) $(SOURCES)
\ No newline at end of file |