diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6602f8b --- /dev/null +++ b/Makefile @@ -0,0 +1,25 @@ +LINK.o = $(LINK.cc) +CXXFLAGS = -ggdb3 -O0 -pedantic -Wall -Werror #-DNOTHREAD +LDFLAGS = -ggdb3 -O0 -Lcmake-build-release #-DNOTHREAD + +OUTPUT_OPTION = -MMD -MP -o $@ +LDLIBS = -lapi -lpthread + +TRGT = metasol +SRC = metasol.cpp +OBJ = $(SRC:.cpp=.o) +DEP = $(SRC:.cpp=.d) + +.PHONY: default all run + +default: all +all: $(TRGT) +$(TRGT): $(OBJ) + +run: $(TRGT) + ./$< + +-include $(DEP) + +clean: + $(RM) $(TRGT) $(OBJ) $(DEP) |
