Line
Link Here
|
0 |
-- higan_v092-source/ananke/Makefile |
0 |
++ higan_v092-source/ananke/Makefile |
Lines 2-8
Link Here
|
2 |
include phoenix/Makefile |
2 |
include phoenix/Makefile |
3 |
|
3 |
|
4 |
path := /usr/local/lib |
4 |
path := /usr/local/lib |
5 |
flags := -I. -O3 -fomit-frame-pointer |
5 |
flags := -I. $(CXXFLAGS) |
6 |
ifeq ($(arch),win32) |
6 |
ifeq ($(arch),win32) |
7 |
flags := -m32 $(flags) |
7 |
flags := -m32 $(flags) |
8 |
endif |
8 |
endif |
Lines 10-16
Link Here
|
10 |
all: |
10 |
all: |
11 |
$(cpp) $(flags) -fPIC -o ananke.o -c ananke.cpp |
11 |
$(cpp) $(flags) -fPIC -o ananke.o -c ananke.cpp |
12 |
ifeq ($(platform),x) |
12 |
ifeq ($(platform),x) |
13 |
$(cpp) $(flags) -shared -Wl,-soname,libananke.so.1 -o libananke.so ananke.o |
13 |
$(cpp) $(flags) $(LDFLAGS) -shared -Wl,-soname,libananke.so.1 -o libananke.so ananke.o |
14 |
else ifeq ($(platform),win) |
14 |
else ifeq ($(platform),win) |
15 |
$(cpp) $(flags) -fPIC -o phoenix.o -c phoenix/phoenix.cpp $(phoenixflags) |
15 |
$(cpp) $(flags) -fPIC -o phoenix.o -c phoenix/phoenix.cpp $(phoenixflags) |
16 |
$(cpp) $(flags) -shared -o phoenix.dll phoenix.o $(phoenixlink) |
16 |
$(cpp) $(flags) -shared -o phoenix.dll phoenix.o $(phoenixlink) |