update makefile

This commit is contained in:
Lucas Cordiviola 2021-10-28 02:47:08 -03:00
parent 3274ae0d69
commit 1e32675e2e
2 changed files with 8 additions and 3 deletions

6
.gitignore vendored
View File

@ -6,4 +6,8 @@ vstsdk2.4
# binaries
*.dll
*.dll
# files
build/Release64/pdvstdebug.txt

View File

@ -3,7 +3,7 @@
# make PDDIR=<path/to/pd>
# or you can specify it below:
PDDIR=
PDDIR=../build/Release64/.pd/
WINARCH := $(shell $(CC) -dumpmachine)
@ -17,4 +17,5 @@ ALL: vstschedlib.c
gcc -Wall -I$(PDDIR)src -I../vst-template vstschedlib.c -static-libgcc \
-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/pd-scheduler$(arch)/vstschedlib.dll
cp vstschedlib.dll ../build/Release64/.pd/bin/vstschedlib.dll