mirror of
https://github.com/ENSL/NS.git
synced 2024-11-25 22:11:04 +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
|
||||
|
||||
OS:=$(shell uname)
|
||||
|
||||
# Make it real fast on an Origin 2000.
|
||||
#LNO =-LNO:opt=1:fusion=2:fission=2:fusion_peeling_limit=2048:cs1=32K:cs2=8M
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
ALL = libparticleMP.a
|
||||
|
@ -37,7 +31,7 @@ all: $(ALL)
|
|||
|
||||
libparticleMP.a: $(POBJS)
|
||||
rm -f $@
|
||||
$(C++) -dynamiclib -undefined suppress -flat_namespace *.o -o libparticles.dylib
|
||||
ar clq $@ $(POBJS)
|
||||
|
||||
SPDir:
|
||||
(make)
|
||||
|
|
Loading…
Reference in a new issue