2016-11-17 00:16:10 +00:00
|
|
|
INCFLAGS += -I/opt/local/include -I/opt/local/include/freetype2
|
2016-11-17 06:50:09 +00:00
|
|
|
CXXFLAGS += $(INCFLAGS) -g -Wall --std=c++11 -O
|
2016-11-17 00:16:10 +00:00
|
|
|
LDFLAGS += -L/opt/local/lib
|
|
|
|
LDLIBS += -lglfw -lglew -lfreeimageplus -lfreetype -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-17 00:16:10 +00:00
|
|
|
$(CXX) $(CXXFLAGS) $(LDFLAGS) $^ -o $@ $(LDLIBS) $(INCFLAGS)
|
2016-11-08 21:22:46 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm $(OBJECTS)
|