v6502cpp/Makefile

25 lines
407 B
Makefile
Raw Normal View History

2013-12-14 06:49:50 +00:00
CXXFLAGS=-g -std=c++11 -Wall -O4
2013-12-03 13:32:05 +00:00
2013-12-14 04:15:55 +00:00
SRCS = v6502.cpp trans.cpp SegmentCache.cpp TransNetwork.cpp Trace.cpp Circuit.cpp StateCalculator.cpp Cpu6502.cpp
OBJS = $(SRCS:.cpp=.o)
DEPS = $(SRCS:.cpp=.d)
.cpp.o:
$(COMPILE.cpp) -MMD $(OUTPUT_OPTION) $<
.PHONY: all clean
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 -f v6502 v6502.exe $(OBJS) $(DEPS)