mirror of
https://github.com/bradgrantham/apple2e.git
synced 2025-01-01 03:31:18 +00:00
15 lines
468 B
Makefile
15 lines
468 B
Makefile
INCFLAGS += -I/opt/local/include -I/opt/local/include/freetype2
|
|
CXXFLAGS += $(INCFLAGS) -g -Wall --std=c++11 # -O
|
|
LDFLAGS += -L/opt/local/lib
|
|
LDLIBS += -lglfw -lglew -lfreeimageplus -lfreetype -framework OpenGL -framework Cocoa -framework IOkit
|
|
|
|
OBJECTS = apple2e.o keyboard.o dis6502.o fake6502.o interface.o
|
|
|
|
all: apple2e
|
|
|
|
apple2e: $(OBJECTS)
|
|
$(CXX) $(CXXFLAGS) $(LDFLAGS) $^ -o $@ $(LDLIBS) $(INCFLAGS)
|
|
|
|
clean:
|
|
rm $(OBJECTS)
|