[PD-cvs] externals/build/win makefile,1.9,1.10
Guenter Geiger
ggeiger at users.sourceforge.net
Sun May 22 15:59:33 CEST 2005
Update of /cvsroot/pure-data/externals/build/win
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20502/build/win
Modified Files:
makefile
Log Message:
- Added the -mms-bitfields flag (compiles against the official Pd)
- Changed path where pd is looked for (looks for the official Pd)
- Some of the externals do not compile, make sure make -k is invoked
Index: makefile
===================================================================
RCS file: /cvsroot/pure-data/externals/build/win/makefile,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** makefile 12 Apr 2005 15:59:04 -0000 1.9
--- makefile 22 May 2005 13:59:31 -0000 1.10
***************
*** 1,29 ****
! prefix=../../..
EXTERNALS = $(shell ls ../src)
! all: $(EXTERNALS:.c=.dll)
.SUFFIXES: .dll
! CFLAGS = -DPD -DMSW -DNT -Wall -W -Wshadow -Wstrict-prototypes \
-Wno-unused -Wno-parentheses -Wno-switch
! INCLUDE = -I. -I.. -I ../../../pd/src -I../include -I/usr/local/include
%.dll: ../src/%.c
! $(CC) $(CFLAGS) $(INCLUDE) -o "$*.o" -c "../src/$*.c"
! gcc -shared -o "$*.dll" "$*.o" $(prefix)/bin/pd.dll \
! `test -f $*.libs && cat $*.libs` -L/usr/local/lib \
! `test -f ../src/$*.libs && cat ../src/$*.libs`
clean:
-rm *.a *.def *.dll *.o
install-doc:
! @test -d $(prefix)/doc/5.reference || mkdir -p $(prefix)/doc/5.reference
cd ../doc && make all
! cp -r ../doc/* $(prefix)/doc/5.reference
install: install-doc
! @test -d $(prefix)/extra || mkdir -p $(prefix)/extra
! install *.dll $(prefix)/extra
--- 1,40 ----
!
! # Adapt the PDPATH if your pd is not installed in the standard place
!
! PDPATH="$(PROGRAMFILES)/pd"
!
!
!
EXTERNALS = $(shell ls ../src)
! all:
! make -k externals
!
! externals: $(EXTERNALS:.c=.dll)
.SUFFIXES: .dll
! DEFINES = -DPD -DNT
! CFLAGS = -Wall -W -Wshadow -Wstrict-prototypes \
-Wno-unused -Wno-parentheses -Wno-switch
! INCLUDE = -I. -I.. -I$(PDPATH)/src
!
%.dll: ../src/%.c
! $(CC) -mms-bitfields $(CFLAGS) $(DEFINES) $(INCLUDE) -o "$*.o" -c "../src/$*.c"
! gcc -shared -o "$*.dll" "$*.o" $(PDPATH)/bin/pd.dll \
! `test -f $*.libs && cat $*.libs` `test -f ../src/$*.libs && cat ../src/$*.libs`
!
clean:
-rm *.a *.def *.dll *.o
install-doc:
! @test -d $(PDPATH)/doc/5.reference || mkdir -p $(PDPATH)/doc/5.reference
cd ../doc && make all
! cp -r ../doc/* $(PDPATH)/doc/5.reference
install: install-doc
! @test -d $(PDPATH)/extra || mkdir -p $(PDPATH)/extra
! install *.dll $(PDPATH)/extra
More information about the Pd-cvs
mailing list