initial commit
This commit is contained in:
20
vst-scheduler/makefile
Normal file
20
vst-scheduler/makefile
Normal file
@@ -0,0 +1,20 @@
|
||||
# Compile with MinGW.
|
||||
# You can call this makefile with:
|
||||
# make PDDIR=<path/to/pd>
|
||||
# or you can specify it below:
|
||||
|
||||
PDDIR=
|
||||
|
||||
WINARCH := $(shell $(CC) -dumpmachine)
|
||||
|
||||
ifeq (i686% , $(WINARCH))
|
||||
arch = 32
|
||||
else
|
||||
arch = 64
|
||||
endif
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user