bradgrantham-apple2e/Makefile

20 lines
438 B
Makefile
Raw Permalink Normal View History

2016-11-24 00:36:43 +00:00
INCFLAGS += -I/opt/local/include
2020-12-28 02:17:35 +00:00
CXXFLAGS += $(INCFLAGS) -g -Wall --std=c++17 # -O2
LDFLAGS += -L/opt/local/lib
LDLIBS += -lglfw -lao -framework OpenGL -framework Cocoa -framework IOkit
OBJECTS = apple2e.o dis6502.o interface.o gl_utility.o
# fake6502.o
2016-12-06 08:04:01 +00:00
# keyboard.o
2016-11-06 20:40:41 +00:00
2016-11-06 07:53:43 +00:00
all: apple2e
2016-11-06 21:57:45 +00:00
apple2e: $(OBJECTS)
$(CXX) $(CXXFLAGS) $(LDFLAGS) $^ -o $@ $(LDLIBS)
2020-12-17 07:03:43 +00:00
apple2e.o: cpu6502.h
clean:
rm $(OBJECTS)