17 lines
399 B
Makefile
Raw Normal View History

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