Lines 5-16
include nall/qt/Makefile
Link Here
|
5 |
|
5 |
|
6 |
c := $(compiler) -std=gnu99 |
6 |
c := $(compiler) -std=gnu99 |
7 |
cpp := $(subst cc,++,$(compiler)) -std=gnu++0x |
7 |
cpp := $(subst cc,++,$(compiler)) -std=gnu++0x |
8 |
flags := -O3 -I. -Iobj -fomit-frame-pointer $(qtinc) |
8 |
flags := $(CXXFLAGS) -I. -Iobj -fomit-frame-pointer $(qtinc) |
9 |
link := |
9 |
link := |
10 |
|
10 |
|
11 |
ifeq ($(platform),x) |
11 |
ifeq ($(platform),x) |
12 |
flags := -fPIC -fopenmp $(flags) |
12 |
flags := -fPIC -fopenmp $(flags) |
13 |
link += -s -fopenmp -lpthread -lgomp |
13 |
link += -fopenmp -lpthread -lgomp |
14 |
else ifeq ($(platform),osx) |
14 |
else ifeq ($(platform),osx) |
15 |
flags := -fPIC -fopenmp $(flags) |
15 |
flags := -fPIC -fopenmp $(flags) |
16 |
link += -fopenmp -lpthread -lgomp |
16 |
link += -fopenmp -lpthread -lgomp |
Lines 73-81
endif
Link Here
|
73 |
|
73 |
|
74 |
install: |
74 |
install: |
75 |
ifeq ($(platform),x) |
75 |
ifeq ($(platform),x) |
76 |
install -D -m 755 libsnesfilter.a $(DESTDIR)$(prefix)/lib |
76 |
install -D -m 755 libsnesfilter.a $(DESTDIR)$(prefix)/lib/libsnesfilter.a |
77 |
install -D -m 755 libsnesfilter.so $(DESTDIR)$(prefix)/lib |
77 |
install -D -m 755 libsnesfilter.so $(DESTDIR)$(prefix)/lib/libsnesfilter.so |
78 |
ldconfig -n $(DESTDIR)$(prefix)/lib |
|
|
79 |
else ifeq ($(platform),osx) |
78 |
else ifeq ($(platform),osx) |
80 |
cp libsnesfilter.dylib /usr/local/lib/libsnesfilter.dylib |
79 |
cp libsnesfilter.dylib /usr/local/lib/libsnesfilter.dylib |
81 |
endif |
80 |
endif |