diff --git a/vst-scheduler/makefile b/vst-scheduler/makefile index 0043504..67997d0 100644 --- a/vst-scheduler/makefile +++ b/vst-scheduler/makefile @@ -7,7 +7,7 @@ PDDIR=../build/Release64/.pd/ WINARCH := $(shell $(CC) -dumpmachine) -ifeq (i686% , $(WINARCH)) +ifneq (,$(findstring i686,$(WINARCH))) arch = 32 else arch = 64 @@ -18,4 +18,4 @@ ALL: vstschedlib.c -shared -L$(PDDIR)bin -l:pd.dll -o vstschedlib.dll strip vstschedlib.dll cp vstschedlib.dll ../build/pd-scheduler$(arch)/vstschedlib.dll - cp vstschedlib.dll ../build/Release$(arch)/.pd/bin/vstschedlib.dll \ No newline at end of file + #cp vstschedlib.dll ../build/Release$(arch)/.pd/bin/vstschedlib.dll \ No newline at end of file diff --git a/vst-template/makefile b/vst-template/makefile index 0c88237..532a15c 100644 --- a/vst-template/makefile +++ b/vst-template/makefile @@ -22,7 +22,7 @@ $(empty) WINARCH := $(shell $(CC) -dumpmachine) -ifeq (i686% , $(WINARCH)) +ifneq (,$(findstring i686,$(WINARCH))) arch = 32 else arch = 64 @@ -33,7 +33,7 @@ ALL: $(SOURCES) g++ -Wall -I. -I$(FOO) -I$(FOO2) \ $(SOURCES) -static-libgcc -static-libstdc++ -static -lpthread -shared -o pdvst-template.dll strip pdvst-template.dll - cp pdvst-template.dll ../build/Release$(arch)/.template/pdvst-template.dll + cp pdvst-template.dll ../build/Release$(arch)/pdvst-template.dll cp pdvst-template.dll ../build/Release$(arch)/Pd_Gain.dll cp pdvst-template.dll ../build/Release$(arch)/Pd_Gain-gui.dll cp pdvst-template.dll ../build/Release$(arch)/Pd_Gain-nogui.dll