diff --git a/main/source/particles/Makefile b/main/source/particles/Makefile index 9d6924c6..b4ebad78 100644 --- a/main/source/particles/Makefile +++ b/main/source/particles/Makefile @@ -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)