mirror of
https://github.com/ENSL/NS.git
synced 2024-11-29 15:51:51 +00:00
chore: Reset particles makefile
This commit is contained in:
parent
b54ede04f5
commit
0a97abc3c1
1 changed files with 1 additions and 7 deletions
|
@ -11,18 +11,12 @@ GLUT_HOME =/usr/local/contrib/unmoderated
|
||||||
|
|
||||||
MP = #-mp -DPARTICLE_MP
|
MP = #-mp -DPARTICLE_MP
|
||||||
|
|
||||||
OS:=$(shell uname)
|
|
||||||
|
|
||||||
# Make it real fast on an Origin 2000.
|
# Make it real fast on an Origin 2000.
|
||||||
#LNO =-LNO:opt=1:fusion=2:fission=2:fusion_peeling_limit=2048:cs1=32K:cs2=8M
|
#LNO =-LNO:opt=1:fusion=2:fission=2:fusion_peeling_limit=2048:cs1=32K:cs2=8M
|
||||||
COPT = $(MP) -O3 $(LNO) -fPIC
|
COPT = $(MP) -O3 $(LNO) -fPIC
|
||||||
|
|
||||||
CFLAGS = $(COPT) $(COMPFLAGS) -I. -I.. -I$(GLUT_HOME)/include -I/usr/include/c++/4.8/ -I../common -I../public -I../pm_shared -I../engine
|
CFLAGS = $(COPT) $(COMPFLAGS) -I. -I.. -I$(GLUT_HOME)/include -I/usr/include/c++/4.8/ -I../common -I../public -I../pm_shared -I../engine
|
||||||
|
|
||||||
ifeq ($(OS),Darwin)
|
|
||||||
CFLAGS +="-target i386-apple-darwin -DCMAKE_OSX_ARCHITECTURES=i386"
|
|
||||||
endif
|
|
||||||
|
|
||||||
POBJS =action_api.o actions.o HLRender.o opengl.o system.o
|
POBJS =action_api.o actions.o HLRender.o opengl.o system.o
|
||||||
|
|
||||||
ALL = libparticleMP.a
|
ALL = libparticleMP.a
|
||||||
|
@ -37,7 +31,7 @@ all: $(ALL)
|
||||||
|
|
||||||
libparticleMP.a: $(POBJS)
|
libparticleMP.a: $(POBJS)
|
||||||
rm -f $@
|
rm -f $@
|
||||||
$(C++) -dynamiclib -undefined suppress -flat_namespace *.o -o libparticles.dylib
|
ar clq $@ $(POBJS)
|
||||||
|
|
||||||
SPDir:
|
SPDir:
|
||||||
(make)
|
(make)
|
||||||
|
|
Loading…
Reference in a new issue