aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 450a5f4..1421b3f 100644
--- a/Makefile
+++ b/Makefile
@@ -2,11 +2,11 @@ BINDIR = bin
SRCDIR = src
CC = gcc
-CCFLAGS = -Wall -Wextra -Wpedantic
+CCFLAGS = -std=c99 -Wall -Wextra -Wpedantic -Wno-implicit-fallthrough
all: prebuild $(BINDIR)/basename $(BINDIR)/chown $(BINDIR)/cut $(BINDIR)/head \
$(BINDIR)/mkdir $(BINDIR)/mv $(BINDIR)/rm $(BINDIR)/seq \
- $(BINDIR)/shuf $(BINDIR)/tee $(BINDIR)/tr \
+ $(BINDIR)/shuf $(BINDIR)/tee $(BINDIR)/tr $(BINDIR)/xargs \
$(BINDIR)/shuf_trand
prebuild:
@@ -45,6 +45,9 @@ $(BINDIR)/tee: $(SRCDIR)/tee.c
$(BINDIR)/tr: $(SRCDIR)/tr.c
$(CC) $(CCFLAGS) -o $@ $^
+$(BINDIR)/xargs: $(SRCDIR)/xargs.c
+ $(CC) $(CCFLAGS) -o $@ $^
+
#### shuf using trand
TRAND_PATH = trand