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