federico a écrit :
thanks. fixed in CVS. I'll post soon a 0.2.3 release to http://www.puredata.org/Members/federico/externals
It works correctly, I even have the properties window, attached is the dll and the tof makefile, thanks to both of you!
current: echo make pd_linux, pd_win
# ----------------------- WINDOWS ----------------------- pd_win: tracker.dll tracker.dll: tracker.c tracker.h tracker.tk2c
WINPDPATH = /home/pat/pd
.SUFFIXES: .dll
WINCFLAGS = -Wall -W -Wshadow -Wstrict-prototypes -DPD -DNT -W3 -WX -Werror -Wno-unused -mms-bitfields -Wno-parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer
WININCLUDE = -I.. -I../include -I$(WINPDPATH)/src
LDFLAGS = -shared
.c.dll: gcc -mms-bitfields $(WINCFLAGS) $(WININCLUDE) -o $*.o -c $*.c gcc $(LDFLAGS) -o $*.dll $*.o $(WINPDPATH)/bin/pd.dll strip --strip-unneeded $*.dll rm -f $*.o
# ----------------------- LINUX i386 -----------------------
pd_linux: tracker.pd_linux tracker.pd_linux: tracker.c tracker.h tracker.tk2c
CFLAGS = -DPD -DUNIX -O2 -funroll-loops -fomit-frame-pointer
-Wall -W -Wno-shadow -Wstrict-prototypes
-Wno-unused -Wno-parentheses -Wno-switch
-I/usr/include -I/home/tom/pd/cvs/pd/src
.SUFFIXES: .pd_linux .tk .tk2c
.tk.tk2c: sh tk2c.bash < $*.tk > $*.tk2c .c.pd_linux: $(CC) $(CFLAGS) -o $*.o -c $*.c $(LD) -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm strip --strip-unneeded $*.pd_linux clean: rm -f *.o *.pd_* so_locations *.tk2c