diff options
| author | Tom Harley | 2019-01-24 12:10:15 +0000 |
|---|---|---|
| committer | Tom Harley | 2019-01-24 12:10:15 +0000 |
| commit | 1ef39e9ba6ce1a622c53f38929d1e77b4f2518fc (patch) | |
| tree | 7734126b8b4c2bd9f97d45137cf73c83fdf8c829 /Makefile | |
| parent | wow a thing that works (diff) | |
| download | metasol-1ef39e9ba6ce1a622c53f38929d1e77b4f2518fc.tar.gz metasol-1ef39e9ba6ce1a622c53f38929d1e77b4f2518fc.zip | |
It works with fortune’s favor
It seems to be consistently running to completion successfully! It’s been renamed to metasol for now, since that’s a better name than test. Next step will probably be eliminating the namespace pollution in metasol.cpp.
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) |
