Commit eebb28f6 authored by thomas's avatar thomas
Browse files

no message


git-svn-id: https://svn.grrrr.org/ext/trunk@228 4d9ac71a-51e6-0310-8455-cad1006bcd31
parent 7489a8cc
......@@ -53,7 +53,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib /nologo /dll /machine:I386
# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib /nologo /dll /machine:I386 /out:"../adv1.dll" /libpath:"..\msvc" /libpath:"..\..\msvc-debug"
# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib /nologo /dll /machine:I386 /out:"../msvc/adv1.dll" /libpath:"..\msvc" /libpath:"..\..\msvc-debug"
!ELSEIF "$(CFG)" == "adv1 - Win32 Debug"
......
# adv1 - flext tutorial example
# Copyright (c) 2001,2002 Thomas Grill (xovo@gmx.net)
#
# Makefile for BorlandC++
#
# usage: make -f makefile.bcc
#
# ---------------------------------------------
NAME=adv1
SETUPFUNCTION=adv1_setup
!include ..\makefile-inc.bcc
echo --- Building flext tutorial examples with BorlandC++ ---
@cd simple1
@make -f makefile.bcc
@cd ..
@cd simple2
@make -f makefile.bcc
@cd ..
@cd simple3
@make -f makefile.bcc
@cd ..
@cd adv1
@make -f makefile.bcc
@cd ..
@cd signal1
@make -f makefile.bcc
@cd ..
@cd signal2
@make -f makefile.bcc
@cd ..
# flext tutorial examples
# Copyright (c) 2001,2002 Thomas Grill (xovo@gmx.net)
#
# This is a make include file for BorlandC++
# It can't be used on its own
#
# ---------------------------------------------
# where to put the build
OUTPATH=..\bcc
# flext stuff
FLEXTPATH=..\.. ### EDIT! ###
TARGET=pdwin
# paths
BCCPATH=c:\programme\prog\bcc55 ### EDIT! ###
PDPATH=c:\programme\audio\pd ### EDIT! ###
# includes, libs
INCPATH=-I$(BCCPATH)\include -I$(PDPATH)\src -I$(FLEXTPATH)
LIBPATH=-L$(BCCPATH)\lib -L$(PDPATH)\lib -L$(FLEXTPATH)
LIBS=cw32.lib import32.lib C0D32.OBJ
# compiler definitions and flags
DEFS=-DPD -DNT
CFLAGS=-6 -O2 -OS -ff -tWD
# the rest can stay untouched
# ----------------------------------------------
# all the source files from the package
SRCS= main.cpp
HDRS=
#default target
all: $(OUTPATH)\$(NAME).dll
# remove build
clean:
-del /s /q $(OUTPATH) > nul
rmdir $(OUTPATH)
# -----------------------------------------------
OBJS= $(SRCS:.cpp=.obj)
$(SRCS): $(HDRS)
-touch $<
.PATH.OBJ=$(OUTPATH)
.cpp.obj:
bcc32 -c $(CFLAGS) $(DEFS) $(INCPATH) -n$(OUTPATH) $<
$(OUTPATH):
-@if not exist $< mkdir $<
$(OUTPATH)\pd.lib: $(PDPATH)\bin\pd.dll
implib -a $@ $**
$(OUTPATH)\$(NAME).def:
@echo EXPORTS $(SETUPFUNCTION) = _$(SETUPFUNCTION) > $<
$(OUTPATH)\$(NAME)~.dll : $(OUTPATH)\$(NAME).dll
-ren $** $<
$(OUTPATH)\$(NAME).dll :: $(OUTPATH) $(OUTPATH)\$(NAME).def $(OUTPATH)\pd.lib
$(OUTPATH)\$(NAME).dll :: $(OBJS)
ilink32 -C -Tpd $(LIBPATH) $** ,$<,,$(LIBS) $(OUTPATH)\pd.lib $(FLEXTPATH)\bcc\flext-$(TARGET).lib ,$(OUTPATH)\$(NAME).def
@del $**
@del $(OUTPATH)\*.i*
@del $(OUTPATH)\*.map
@del $(OUTPATH)\*.def
@del $(OUTPATH)\*.tds
# signal1 - flext tutorial example
# Copyright (c) 2001,2002 Thomas Grill (xovo@gmx.net)
#
# Makefile for BorlandC++
#
# usage: make -f makefile.bcc
#
# ---------------------------------------------
NAME=signal1~
SETUPFUNCTION=signal1_tilde_setup
!include ..\makefile-inc.bcc
......@@ -53,7 +53,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib /nologo /dll /machine:I386
# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib /nologo /dll /machine:I386 /out:"../pan~.dll" /libpath:"..\msvc" /libpath:"..\..\msvc-debug"
# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib /nologo /dll /machine:I386 /out:"../msvc/signal1~.dll" /libpath:"..\msvc" /libpath:"..\..\msvc-debug"
!ELSEIF "$(CFG)" == "signal1 - Win32 Debug"
......@@ -79,7 +79,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib /nologo /dll /debug /machine:I386 /out:"msvc-debug/pan~.dll" /pdbtype:sept /libpath:"..\msvc-debug" /libpath:"..\..\msvc-debug"
# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib /nologo /dll /debug /machine:I386 /out:"msvc-debug/signal1~.dll" /pdbtype:sept /libpath:"..\msvc-debug" /libpath:"..\..\msvc-debug"
!ENDIF
......
# signal2 - flext tutorial example
# Copyright (c) 2001,2002 Thomas Grill (xovo@gmx.net)
#
# Makefile for BorlandC++
#
# usage: make -f makefile.bcc
#
# ---------------------------------------------
NAME=signal2~
SETUPFUNCTION=signal2_tilde_setup
!include ..\makefile-inc.bcc
......@@ -23,8 +23,8 @@ CFG=signal2 - Win32 Debug
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
# PROP Scc_ProjName "max/flext/tutorial/signal2"
# PROP Scc_LocalPath "."
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe
......@@ -53,7 +53,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib /nologo /dll /machine:I386
# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib /nologo /dll /machine:I386 /out:"../signal2~.dll" /libpath:"..\msvc" /libpath:"..\..\msvc-debug"
# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib /nologo /dll /machine:I386 /out:"../msvc/signal2~.dll" /libpath:"..\msvc" /libpath:"..\..\msvc-debug"
!ELSEIF "$(CFG)" == "signal2 - Win32 Debug"
......
# simple1 - flext tutorial example
# Copyright (c) 2001,2002 Thomas Grill (xovo@gmx.net)
#
# Makefile for BorlandC++
#
# usage: make -f makefile.bcc
#
# ---------------------------------------------
NAME=simple1
SETUPFUNCTION=simple1_setup
!include ..\makefile-inc.bcc
......@@ -53,7 +53,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib /nologo /dll /machine:I386
# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib /nologo /dll /machine:I386 /out:"../simple1.dll" /libpath:"..\msvc" /libpath:"..\..\msvc-debug"
# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib /nologo /dll /machine:I386 /out:"../msvc/simple1.dll" /libpath:"..\msvc" /libpath:"..\..\msvc-debug"
!ELSEIF "$(CFG)" == "simple1 - Win32 Debug"
......
# simple2 - flext tutorial example
# Copyright (c) 2001,2002 Thomas Grill (xovo@gmx.net)
#
# Makefile for BorlandC++
#
# usage: make -f makefile.bcc
#
# ---------------------------------------------
NAME=simple2
SETUPFUNCTION=simple2_setup
!include ..\makefile-inc.bcc
......@@ -53,7 +53,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib /nologo /dll /machine:I386
# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib pthreadVC.lib /nologo /dll /machine:I386 /out:"../simple2.dll" /libpath:"..\msvc" /libpath:"..\..\msvc-debug"
# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib pthreadVC.lib /nologo /dll /machine:I386 /out:"../msvc/simple2.dll" /libpath:"..\msvc" /libpath:"..\..\msvc-debug"
!ELSEIF "$(CFG)" == "simple2 - Win32 Debug"
......
# simple3 - flext tutorial example
# Copyright (c) 2001,2002 Thomas Grill (xovo@gmx.net)
#
# Makefile for BorlandC++
#
# usage: make -f makefile.bcc
#
# ---------------------------------------------
NAME=simple3
SETUPFUNCTION=simple3_setup
!include ..\makefile-inc.bcc
......@@ -53,7 +53,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib /nologo /dll /machine:I386
# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib pthreadVC.lib /nologo /dll /machine:I386 /out:"../simple3.dll" /libpath:"..\msvc" /libpath:"..\..\msvc-debug"
# ADD LINK32 kernel32.lib user32.lib pd.lib flext-pdwin.lib pthreadVC.lib /nologo /dll /machine:I386 /out:"../msvc/simple3.dll" /libpath:"..\msvc" /libpath:"..\..\msvc-debug"
!ELSEIF "$(CFG)" == "simple3 - Win32 Debug"
......
......@@ -53,7 +53,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib /nologo /dll /machine:I386
# ADD LINK32 kernel32.lib user32.lib pd.lib flext_t-pdwin.lib pthreadVC.lib /nologo /dll /machine:I386 /out:"../thread1.dll" /libpath:"..\msvc" /libpath:"..\..\msvc-t"
# ADD LINK32 kernel32.lib user32.lib pd.lib flext_t-pdwin.lib pthreadVC.lib /nologo /dll /machine:I386 /out:"../msvc/thread1.dll" /libpath:"..\msvc" /libpath:"..\..\msvc-t"
!ELSEIF "$(CFG)" == "thread1 - Win32 Debug"
......
......@@ -53,7 +53,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib /nologo /dll /machine:I386
# ADD LINK32 kernel32.lib user32.lib pd.lib flext_t-pdwin.lib pthreadVC.lib /nologo /dll /machine:I386 /out:"../thread2.dll" /libpath:"..\msvc" /libpath:"..\..\msvc-t"
# ADD LINK32 kernel32.lib user32.lib pd.lib flext_t-pdwin.lib pthreadVC.lib /nologo /dll /machine:I386 /out:"../msvc/thread2.dll" /libpath:"..\msvc" /libpath:"..\..\msvc-t"
!ELSEIF "$(CFG)" == "thread2 - Win32 Debug"
......
......@@ -47,22 +47,6 @@ Package=<4>
###############################################################################
Project: "prepend"=..\..\prepend\prepend.dsp - Package Owner=<4>
Package=<5>
{{{
begin source code control
prepend
..\..\prepend
end source code control
}}}
Package=<4>
{{{
}}}
###############################################################################
Project: "signal1"=.\signal1\signal1.dsp - Package Owner=<4>
Package=<5>
......@@ -83,6 +67,10 @@ Project: "signal2"=.\signal2\signal2.dsp - Package Owner=<4>
Package=<5>
{{{
begin source code control
max/flext/tutorial/signal2
.\signal2
end source code control
}}}
Package=<4>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment