X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=makefile;h=12e71648e3ed2cfb55b8fda4670861e1cdd21724;hb=9c6cad97207d5d539f61e62b192335aa98fb2243;hp=d6be6c5a2e589ed8a74153be6199128b14957e42;hpb=b3babd5135c8683e68ce97cc76e0ec0487d4ee46;p=apply-default-acl.git diff --git a/makefile b/makefile index d6be6c5..12e7164 100644 --- a/makefile +++ b/makefile @@ -1,5 +1,5 @@ CC = gcc -CFLAGS = -O2 -march=native -pipe +CFLAGS = -O2 -march=native -pipe -Wall LIBS = -lacl SOURCES := $(shell find ./src -type f -name '*.c') @@ -12,6 +12,11 @@ OBJS := $(patsubst %.c, %.o, $(SOURCES)) aclq: $(OBJS) $(CC) $(CFLAGS) $(LIBS) -o $@ $^ +.PHONY: clean + clean: rm -f $(OBJS) rm -f aclq + +test: aclq + ./run-tests.sh