summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-10-18 22:49:03 +0000
committerPaul Buetow <paul@buetow.org>2008-10-18 22:49:03 +0000
commit41e590f05d295a40ba4633d493be1ffe28f16ddf (patch)
treecb743603e32acba4c27f8ddfe4f105d1941efe4f /Makefile
parentcb1450b796eff3c8830616e2e9a3d83d4dfb4900 (diff)
examples work now again
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5624b2e..e9501d3 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ SRCS!=find ./src -name '*.c'
OBJS=$(SRCS:.c=.o)
CC?=cc
#CC=mingw32-gcc
-#DEBUG=-g3 -ggdb3
+DEBUG=-g3 -ggdb3
CFLAGS+=-c -Wall -std=c99 -pedantic $(DEBUG)
LDADD+=
HEADER?=docs/header.txt
@@ -73,6 +73,8 @@ run:
./$(BIN) ./tmp/test.fy
core:
gdb $(BIN) $(BIN).core
+gdb:
+ gdb --args $(BIN) ./tmp/test.fy
newline:
@echo
examples: all