From 8173cd6fbbe611dcaf5c643f3d3fd4873dde0c19 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Sat, 18 Dec 2004 05:04:43 +0000 Subject: use flext build system using flext build system updated build system svn path=/trunk/; revision=2408 --- externals/grill/py/makefile.pd-bcc | 81 -------------------------------------- 1 file changed, 81 deletions(-) delete mode 100644 externals/grill/py/makefile.pd-bcc (limited to 'externals/grill/py/makefile.pd-bcc') diff --git a/externals/grill/py/makefile.pd-bcc b/externals/grill/py/makefile.pd-bcc deleted file mode 100644 index 9141ffb8..00000000 --- a/externals/grill/py/makefile.pd-bcc +++ /dev/null @@ -1,81 +0,0 @@ -# py/pyext - python script object for PD and MaxMSP -# Copyright (C) 2002 Thomas Grill -# -# Makefile for BorlandC++ -# -# usage: make -f makefile.pd-bcc -# -# ... no threads! -# -# --------------------------------------------- - -!include config-pd-bcc.txt - -NAME=py -SETUPFUNCTION=$(NAME)_setup - -# flext stuff -TARGET=pdwin - -# includes, libs -INCPATH=-I$(BCCPATH)\include -I$(PYTHONINCLUDE) -I$(PDPATH)\src -I$(FLEXTPATH) -LIBPATH=-L$(BCCPATH)\lib -L$(PDPATH)\lib -LIBS=cw32.lib import32.lib C0D32.OBJ - -# compiler definitions and flags -DEFS=-DFLEXT_SYS=2 -CFLAGS=-6 -O2 -OS -ff -tWD - - -# the rest can stay untouched -# ---------------------------------------------- - -# all the source files from the package -!include make-files.txt - -# default target -all: $(OUTPATH)\$(NAME).dll - -# remove build -clean: - -del /s /q $(OUTPATH) > nul - rmdir $(OUTPATH) - - -install: - cp $(OUTPATH)\$(NAME).dll $(INSTDIR) - -# ---------------------------------------------- - -OBJS= $(SRCS:.cpp=.obj) - -#.PATH.OBJ=$(OUTPATH) - -#$(SRCS): $(HDRS) -# -touch $< - -{$(SRCDIR)}.cpp.obj: - bcc32 -c $(CFLAGS) $(DEFS) $(INCPATH) -n$(OUTPATH) $< - -$(OUTPATH): - -@if not exist $< mkdir $< - -$(OUTPATH)\pd.lib: $(PDPATH)\bin\pd.dll - implib -a $< $** - -$(OUTPATH)\python.lib: $(PYTHONBIN) - implib -a $< $** - -$(OUTPATH)\$(NAME).def: - @echo EXPORTS $(SETUPFUNCTION) = _$(SETUPFUNCTION) > $< - @echo IMPORTS _Py_Initialize = $(PYTHONVER).Py_Initialize >> $< - @echo IMPORTS _Py_Finalize = $(PYTHONVER).Py_Finalize >> $< - -$(OUTPATH)\$(NAME).dll :: $(OUTPATH) $(OUTPATH)\$(NAME).def $(OUTPATH)\pd.lib $(OUTPATH)\python.lib - -$(OUTPATH)\$(NAME).dll :: $(OBJS) - cd $(OUTPATH) - ilink32 -C -Tpd $(LIBPATH) $** ,..\$<,,$(LIBS) pd.lib python.lib $(FLEXTPATH)\flext-$(TARGET).lib ,$(NAME).def - cd .. - - \ No newline at end of file -- cgit v1.2.1