From 1a50af3f155eaf320cc91ba626d65754f846325a Mon Sep 17 00:00:00 2001 From: jdl Date: Sat, 31 Aug 2002 20:31:36 +0000 Subject: added cx.h with #define L debug routine .. svn path=/trunk/externals/cxc/; revision=104 --- cx.c | 5 +++-- cx.h | 6 ++++++ makefile | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 cx.h diff --git a/cx.c b/cx.c index f8020d6..5ef642e 100644 --- a/cx.c +++ b/cx.c @@ -8,7 +8,7 @@ #endif #include - +#include "cx.h" typedef struct _cxc { @@ -99,5 +99,6 @@ void cxc_setup(void) post("c : jdl@xdv.org ========================================"); post(" x : ver: "VERSION" ============================================"); post(" c: compiled: "__DATE__" =================================="); - post("\\"); + // post("\\"); + // L; } diff --git a/cx.h b/cx.h new file mode 100644 index 0000000..11cb10e --- /dev/null +++ b/cx.h @@ -0,0 +1,6 @@ + +#include + +#ifndef L +#define L fprintf(stderr,"%s:%d\n",__FILE__,__LINE__); +#endif diff --git a/makefile b/makefile index 1ecb81d..2cf292e 100644 --- a/makefile +++ b/makefile @@ -18,7 +18,7 @@ TARGETS = binshift ascwave ixprint bangfilt bangfilt2 \ LINUXOBJECTS = $(TARGETS:%=%.o) -LINCLUDE = -I. -I../pd-0.35-test24/src +LINCLUDE = -I. -I../pd-0.35-0/src # possible defines # -DPRINTADDRS DEBUG = -DDEBUG -ggdb -- cgit v1.2.1