2016-11-23 16:36:43 -08:00
|
|
|
INCFLAGS += -I/opt/local/include
|
2016-12-02 10:42:22 -08:00
|
|
|
CXXFLAGS += $(INCFLAGS) -g -Wall --std=c++11 -O2
|
2016-11-18 20:54:19 -08:00
|
|
|
LDFLAGS += -L/opt/local/lib
|
2016-11-23 23:29:23 -08:00
|
|
|
LDLIBS += -lglfw -lao -framework OpenGL -framework Cocoa -framework IOkit
|
2016-11-08 13:22:46 -08:00
|
|
|
|
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
|
|
|
|
2016-11-08 13:22:46 -08:00
|
|
|
apple2e: $(OBJECTS)
|
2016-11-18 20:54:19 -08:00
|
|
|
$(CXX) $(CXXFLAGS) $(LDFLAGS) $^ -o $@ $(LDLIBS)
|
2016-11-08 13:22:46 -08:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm $(OBJECTS)
|