aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjdl <x75@users.sourceforge.net>2002-08-31 20:31:36 +0000
committerjdl <x75@users.sourceforge.net>2002-08-31 20:31:36 +0000
commit1a50af3f155eaf320cc91ba626d65754f846325a (patch)
treea2b4d857865360286dd252d6a27822afc82f8180
parent9bb6d9f5796aa45b3011faf72d0c8edb9f748dc1 (diff)
added cx.h with #define L debug routine ..
svn path=/trunk/externals/cxc/; revision=104
-rw-r--r--cx.c5
-rw-r--r--cx.h6
-rw-r--r--makefile2
3 files changed, 10 insertions, 3 deletions
diff --git a/cx.c b/cx.c
index f8020d6..5ef642e 100644
--- a/cx.c
+++ b/cx.c
@@ -8,7 +8,7 @@
#endif
#include <m_pd.h>
-
+#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 <stdio.h>
+
+#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