[PD-cvs] externals/grill/fftease build-max-msvc.bat,NONE,1.1 config-max-msvc.txt,NONE,1.1 makefile.max-msvc,NONE,1.1 config-pd-msvc.txt,1.2,1.3 makefile.pd-msvc,1.3,1.4
xovo at users.sourceforge.net
xovo at users.sourceforge.net
Sat Nov 15 04:40:57 CET 2003
- Previous message: [PD-cvs] externals/grill/flext config-max-msvc.txt,1.2,1.3 make-inc.max-msvc,1.2,1.3
- Next message: [PD-cvs] externals/hcs linuxevent-help.pd,NONE,1.1 linuxjoystick-help.pd,NONE,1.1 linuxmouse-help.pd,NONE,1.1 linuxevent.pd,1.1,NONE linuxmouse.pd,1.1,NONE linuxjoystick.pd,1.1,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/pure-data/externals/grill/fftease
In directory sc8-pr-cvs1:/tmp/cvs-serv15261
Modified Files:
config-pd-msvc.txt makefile.pd-msvc
Added Files:
build-max-msvc.bat config-max-msvc.txt makefile.max-msvc
Log Message:
""
--- NEW FILE: build-max-msvc.bat ---
@echo --- Building with MS Visual C++ ---
nmake -f makefile.max-msvc clean
nmake -f makefile.max-msvc
--- NEW FILE: config-max-msvc.txt ---
# FFTease - A set of Live Spectral Processors
# Originally written by Eric Lyon and Christopher Penrose for the Max/MSP platform
#
# Copyright (c)Thomas Grill (xovo at gmx.net)
# For information on usage and redistribution, and for a DISCLAIMER OF ALL
# WARRANTIES, see the file, "license.txt," in this distribution.
#
# where is the Max SDK?
MAXSDKPATH="F:\prog\audio\MaxWinSDK\c74support"
# where do the flext libraries reside?
FLEXTPATH="%CommonProgramFiles%\Cycling '74\flext"
# where is MS VC++?
# (need not be defined if the build is started with the compiler environment set)
# MSVCPATH="c:\programme\prog\microsoft visual studio\VC98"
# where should the external be built?
OUTPATH=max-msvc
# where should the external be installed?
# (leave blank to omit installation)
INSTPATH="%CommonProgramFiles%\Cycling '74\externals\flext"
# some user-definable flags
UFLAGS=/G6 /arch:SSE
--- NEW FILE: makefile.max-msvc ---
# FFTease - A set of Live Spectral Processors
# Originally written by Eric Lyon and Christopher Penrose for the Max/MSP platform
#
# Copyright (c)Thomas Grill (xovo at gmx.net)
# For information on usage and redistribution, and for a DISCLAIMER OF ALL
# WARRANTIES, see the file, "license.txt," in this distribution.
#
#
# Makefile for MSVC++ 6
#
# usage:
# to build run "make -f makefile.max-msvc"
#
!include config-max-msvc.txt
# includes
INCPATH=/I$(MAXSDKPATH)\max-includes /I$(MAXSDKPATH)\msp-includes /I$(FLEXTPATH)
LDFLAGS=/LIBPATH:$(FLEXTPATH)
!ifdef MSVCPATH
INCPATH=$(INCPATH) /I$(MSVCPATH)\include
LDFLAGS=$(LDFLAGS) /LIBPATH:$(MSVCPATH)\lib
!endif
!ifdef _DEBUG
LIBS=flext_d-maxwin.lib
LDFLAGS=$(LDFLAGS) /LIBPATH:$(MAXSDKPATH)\max-includes\win-includes\debug\ /LIBPATH:$(MAXSDKPATH)\msp-includes\win-includes\debug\
!else
LIBS=flext-maxwin.lib
LDFLAGS=$(LDFLAGS) /LIBPATH:$(MAXSDKPATH)\max-includes\win-includes\release\ /LIBPATH:$(MAXSDKPATH)\msp-includes\win-includes\release\
!endif
LIBS=$(LIBS) maxapi.lib maxaudio.lib
# compiler definitions and flags
DEFS=/DFLEXT_SYS=1 $(UFLAGS)
CFLAGS=/ML /GR- /GD /Ox /GX
# the rest can stay untouched
# ----------------------------------------------
# all the source files from the package
!include make-files.txt
# -----------------------------------------------
NAME=fftease
EXT=mxe
DIR=src
all: $(OUTPATH) $(OUTPATH)\$(NAME).$(EXT)
# remove build
clean:
-del /q $(OUTPATH) > nul
-rmdir $(OUTPATH) > nul
OBJS= $(SRCS:.c=.obj)
OBJS= $(OBJS:.objpp=.obj)
$(OUTPATH):
-mkdir $(OUTPATH) > nul
{$(DIR)}.cpp{}.obj:
cl /c /LD $(CFLAGS) $(DEFS) $(INCPATH) $** /Fo$(OUTPATH)/$@
{$(DIR)}.c{}.obj:
cl /c /LD $(CFLAGS) $(DEFS) $(INCPATH) $** /Fo$(OUTPATH)/$@
$(OUTPATH)\$(NAME).$(EXT): $(OBJS)
cd $(OUTPATH)
link /DLL $(LDFLAGS) /out:$(NAME).$(EXT) /INCREMENTAL:NO $** $(LIBS) $(LIBPATH)
@-del *.exp
@-del *.lib
cd ..
!ifdef INSTPATH
@-if not exist $(INSTPATH) mkdir $(INSTPATH)
copy $@ $(INSTPATH) > nul
!endif
Index: config-pd-msvc.txt
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/fftease/config-pd-msvc.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** config-pd-msvc.txt 19 Jan 2003 21:11:54 -0000 1.2
--- config-pd-msvc.txt 15 Nov 2003 03:40:55 -0000 1.3
***************
*** 15,19 ****
# where is MS VC++?
! MSVCPATH=c:\programme\prog\microsoft visual studio\VC98
--- 15,20 ----
# where is MS VC++?
! # (need not be defined if the build is started with the compiler environment set)
! # MSVCPATH=c:\programme\prog\microsoft visual studio\VC98
***************
*** 23,25 ****
# where should the external be installed?
# (leave blank to omit installation)
! INSTDIR=$(PDPATH)\extra
--- 24,30 ----
# where should the external be installed?
# (leave blank to omit installation)
! INSTPATH=$(PDPATH)\extra
!
!
! # some user-definable flags
! UFLAGS=/G6
\ No newline at end of file
Index: makefile.pd-msvc
===================================================================
RCS file: /cvsroot/pure-data/externals/grill/fftease/makefile.pd-msvc,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** makefile.pd-msvc 19 Jan 2003 21:11:54 -0000 1.3
--- makefile.pd-msvc 15 Nov 2003 03:40:55 -0000 1.4
***************
*** 21,27 ****
# compiler definitions and flags
! DEFS=/DPD
! CFLAGS=/GR- /GX- /GD /G6 /Ox
# the rest can stay untouched
--- 21,27 ----
# compiler definitions and flags
! DEFS=/DFLEXT_SYS=2
! CFLAGS=/GR- /GX- /GD /Ox
# the rest can stay untouched
***************
*** 34,40 ****
NAME=fftease
DIR=src
! all: $(OUTPATH) $(OUTPATH)\$(NAME).dll
# remove build
--- 34,41 ----
NAME=fftease
+ EXT=dll
DIR=src
! all: $(OUTPATH) $(OUTPATH)\$(NAME).$(EXT)
# remove build
***************
*** 57,63 ****
! $(OUTPATH)\$(NAME).dll: $(OBJS)
cd $(OUTPATH)
! link /DLL /out:$(NAME).dll /INCREMENTAL:NO $** $(LIBS) $(LIBPATH)
@-del *.exp
@-del *.lib
--- 58,64 ----
! $(OUTPATH)\$(NAME).$(EXT): $(OBJS)
cd $(OUTPATH)
! link /DLL /out:$(NAME).$(EXT) /INCREMENTAL:NO $** $(LIBS) $(LIBPATH)
@-del *.exp
@-del *.lib
- Previous message: [PD-cvs] externals/grill/flext config-max-msvc.txt,1.2,1.3 make-inc.max-msvc,1.2,1.3
- Next message: [PD-cvs] externals/hcs linuxevent-help.pd,NONE,1.1 linuxjoystick-help.pd,NONE,1.1 linuxmouse-help.pd,NONE,1.1 linuxevent.pd,1.1,NONE linuxmouse.pd,1.1,NONE linuxjoystick.pd,1.1,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Pd-cvs
mailing list