Initial commit.

This commit is contained in:
Ian Gulliver
2016-03-03 23:02:19 -08:00
parent ae39b730da
commit 213cad5417
6 changed files with 172 additions and 0 deletions

18
Makefile Normal file
View File

@@ -0,0 +1,18 @@
COMP ?= clang
DISABLED_WARNINGS ?=
CFLAGS ?= -Weverything -Werror -O3 -g --std=gnu11 --pedantic-errors -fPIE -fstack-protector-strong -D_GNU_SOURCE $(DISABLED_WARNINGS)
LDFLAGS ?= $(CFLAGS) -Wl,-z,relro -Wl,-z,now -pie
LIBS ?=
OBJ = buf.o rand.o
all: stutterfuzz
clean:
rm -rf *.o stutterfuzz
%.o: %.c *.h
$(COMP) -c $(CFLAGS) $< -o $@
stutterfuzz: stutterfuzz.o $(OBJ)
$(COMP) $(LDFLAGS) -o stutterfuzz stutterfuzz.o $(OBJ)