mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-09-01 15:29:11 +00:00
17 lines
282 B
Makefile
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
|