mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-11-15 21:10:07 +00:00
df1f47fb36
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
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
|