update makefile

master v0.1
Lucas Cordiviola 2 years ago
parent 10fdda9e8c
commit 4380a28671
  1. 4
      vst-scheduler/makefile
  2. 4
      vst-template/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
#cp vstschedlib.dll ../build/Release$(arch)/.pd/bin/vstschedlib.dll

@ -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

Loading…
Cancel
Save