fsfuzz

small fs fuzzer
git clone git://git.2f30.org/fsfuzz
Log | Files | Refs

Makefile (327B)


      1 bin = fsfuzz
      2 ver = 0.1
      3 CC = gcc
      4 CFLAGS = -Wall -Wextra
      5 
      6 obj = fsfuzz.o \
      7 	btrfs.o \
      8 	xfs.o \
      9 	jfs.o \
     10 	ext4.o \
     11 	reiserfs.o
     12 
     13 $(bin): $(obj)
     14 	@echo -e "  LD\t"$@
     15 	@$(CC) -o $@ $(obj)
     16 
     17 %.o: %.c
     18 	@echo -e "  CC\t"$<
     19 	@$(CC) $(CFLAGS) -c -o $@ $<
     20 
     21 .PHONY: clean
     22 clean:
     23 	@rm -rf $(bin) $(obj)
     24 
     25 .PHONY: all
     26 all:
     27 	@make clean && make