update makefile

This commit is contained in:
Lucas Cordiviola 2022-10-04 06:09:02 -03:00
parent 10fdda9e8c
commit 4380a28671
2 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ PDDIR=../build/Release64/.pd/
WINARCH := $(shell $(CC) -dumpmachine) WINARCH := $(shell $(CC) -dumpmachine)
ifeq (i686% , $(WINARCH)) ifneq (,$(findstring i686,$(WINARCH)))
arch = 32 arch = 32
else else
arch = 64 arch = 64
@ -18,4 +18,4 @@ ALL: vstschedlib.c
-shared -L$(PDDIR)bin -l:pd.dll -o vstschedlib.dll -shared -L$(PDDIR)bin -l:pd.dll -o vstschedlib.dll
strip vstschedlib.dll strip vstschedlib.dll
cp vstschedlib.dll ../build/pd-scheduler$(arch)/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

View File

@ -22,7 +22,7 @@ $(empty)
WINARCH := $(shell $(CC) -dumpmachine) WINARCH := $(shell $(CC) -dumpmachine)
ifeq (i686% , $(WINARCH)) ifneq (,$(findstring i686,$(WINARCH)))
arch = 32 arch = 32
else else
arch = 64 arch = 64
@ -33,7 +33,7 @@ ALL: $(SOURCES)
g++ -Wall -I. -I$(FOO) -I$(FOO2) \ g++ -Wall -I. -I$(FOO) -I$(FOO2) \
$(SOURCES) -static-libgcc -static-libstdc++ -static -lpthread -shared -o pdvst-template.dll $(SOURCES) -static-libgcc -static-libstdc++ -static -lpthread -shared -o pdvst-template.dll
strip 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.dll
cp pdvst-template.dll ../build/Release$(arch)/Pd_Gain-gui.dll cp pdvst-template.dll ../build/Release$(arch)/Pd_Gain-gui.dll
cp pdvst-template.dll ../build/Release$(arch)/Pd_Gain-nogui.dll cp pdvst-template.dll ../build/Release$(arch)/Pd_Gain-nogui.dll