aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-05-22 01:39:15 -0700
committerBruce Hill <bruce@bruce-hill.com>2019-05-22 01:39:15 -0700
commit8f73ec72411aee6f3493295b558190635a12ef28 (patch)
tree46263c419f7130676c4b778475e23524ed7171d5 /Makefile
parent66444fe971f090fdeb63dd897e455418efd5c850 (diff)
Added null-separation option for xargs to properly handle funky
filenames
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