15 lines
390 B
Makefile
Raw Normal View History

2016-11-23 16:36:43 -08:00
INCFLAGS += -I/opt/local/include
2016-11-16 22:50:09 -08:00
CXXFLAGS += $(INCFLAGS) -g -Wall --std=c++11 -O
LDFLAGS += -L/opt/local/lib
2016-11-23 16:36:43 -08:00
LDLIBS += -lglfw -framework OpenGL -framework Cocoa -framework IOkit
OBJECTS = apple2e.o keyboard.o dis6502.o fake6502.o interface.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)