v6502cpp/Makefile

32 lines
526 B
Makefile
Raw Normal View History

CXXFLAGS=-g -std=c++11 -Wall -O3
2013-12-15 04:37:39 +00:00
DOXYGEN=doxygen
2013-12-03 13:32:05 +00:00
2013-12-15 19:00:43 +00:00
SRCS = v6502.cpp Emu6502.cpp SegmentCache.cpp TransCache.cpp Common.cpp TransNetwork.cpp Trace.cpp Circuit.cpp StateCalculator.cpp Cpu6502.cpp Cpu6502Helper.cpp
OBJS = $(SRCS:.cpp=.o)
DEPS = $(SRCS:.cpp=.d)
.cpp.o:
$(COMPILE.cpp) -MMD $(OUTPUT_OPTION) $<
2013-12-15 04:37:39 +00:00
.PHONY: all clean doxygen
all: v6502
v6502: $(OBJS)
2013-12-13 14:57:31 +00:00
$(CXX) $(CXXFLAGS) $(LDFLAGS) $(OBJS) -o $@
-include $(DEPS)
2013-12-11 04:58:09 +00:00
2013-12-12 22:05:33 +00:00
clean:
-rm -Rf v6502 v6502.exe $(OBJS) $(DEPS) doxygen
2013-12-15 04:37:39 +00:00
doxygen:
$(DOXYGEN) v6502.Doxyfile