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

4
.gitignore vendored
View File

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

View File

@ -3,7 +3,7 @@
# make PDDIR=<path/to/pd> # make PDDIR=<path/to/pd>
# or you can specify it below: # or you can specify it below:
PDDIR= PDDIR=../build/Release64/.pd/
WINARCH := $(shell $(CC) -dumpmachine) WINARCH := $(shell $(CC) -dumpmachine)
@ -18,3 +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/Release64/.pd/bin/vstschedlib.dll