EightBit/exe_build.mk
Adrian Conlon df1f47fb36 Simplify Linux build configurations.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2017-12-25 23:45:55 +00:00

17 lines
282 B
Makefile

LDFLAGS += -g
opt: $(EXE)
debug: $(EXE)
coverage: LDFLAGS += -lgcov
coverage: $(EXE)
profile: LDFLAGS += -lgcov
profile: $(EXE)
profiled: $(EXE)
$(EXE): $(OBJECTS)
$(CXX) $(OBJECTS) -o $(EXE) $(LDFLAGS)
.PHONY: clean
clean:
-rm -f $(EXE) $(OBJECTS) $(PCH) *.gcov *.gcda *.gcno