[PD-cvs] externals/ff ff.c,1.1.1.1,1.2 makefile,1.1.1.1,1.2
Hans-Christoph Steiner
eighthave at users.sourceforge.net
Tue May 25 06:42:19 CEST 2004
Update of /cvsroot/pure-data/externals/ff
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8232
Modified Files:
ff.c makefile
Log Message:
added compiler warnings and fixed most warnings
Index: ff.c
===================================================================
RCS file: /cvsroot/pure-data/externals/ff/ff.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** ff.c 18 Oct 2003 13:37:19 -0000 1.1.1.1
--- ff.c 25 May 2004 04:42:16 -0000 1.2
***************
*** 55,58 ****
--- 55,60 ----
#include <fcntl.h>
#include <sys/ioctl.h>
+ #include <string.h>
+ #include <stdio.h>
#include "input.h"
***************
*** 456,460 ****
{
if (x->ff_fd < 0) return;
! unsigned short shortwave;
int n = 0;
--- 458,462 ----
{
if (x->ff_fd < 0) return;
! unsigned short shortwave = 0;
int n = 0;
Index: makefile
===================================================================
RCS file: /cvsroot/pure-data/externals/ff/makefile,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** makefile 18 Oct 2003 13:37:19 -0000 1.1.1.1
--- makefile 25 May 2004 04:42:16 -0000 1.2
***************
*** 1,4 ****
ff: ff.c
! gcc $(CFLAGS) $(LINUXCFLAGS) $(LINUXINCLUDE) -o ff.o -c ff.c
ld -export_dynamic -shared -o ff.pd_linux ff.o -lc -lm
strip --strip-unneeded ff.pd_linux
--- 1,9 ----
+
+ CFLAGS = -O2 -W -Wall
+
+ all: ff
+
ff: ff.c
! $(CC) $(CFLAGS) $(LINUXCFLAGS) $(LINUXINCLUDE) -o ff.o -c ff.c
ld -export_dynamic -shared -o ff.pd_linux ff.o -lc -lm
strip --strip-unneeded ff.pd_linux
***************
*** 6,7 ****
--- 11,14 ----
+ clean:
+ rm -f *~ *.pd_* *.dll *.o
More information about the Pd-cvs
mailing list