Initial commit.
This commit is contained in:
18
Makefile
Normal file
18
Makefile
Normal 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)
|
||||
Reference in New Issue
Block a user