aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index dc5845e..5efd253 100644
--- a/Makefile
+++ b/Makefile
@@ -1,16 +1,20 @@
PREFIX=
CC=cc
-CFLAGS=-O0 -std=gnu99 -g
+CFLAGS=-O0 -std=gnu99
LIBS=
NAME=bb
+G=
all: $(NAME)
clean:
rm $(NAME)
+config.h:
+ cp config.def.h config.h
+
$(NAME): $(NAME).c keys.h config.h
- $(CC) $(NAME).c $(LIBS) $(CFLAGS) -o $(NAME)
+ $(CC) $(NAME).c $(LIBS) $(CFLAGS) $(G) -o $(NAME)
test: $(NAME)
./$(NAME) test.xml