X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=makefile;h=602d6fd4c6e3f5321e2f691b83dfbeeca49182c6;hb=b7804ac18110deba71f84682869bd43a12fd1daf;hp=d6be6c5a2e589ed8a74153be6199128b14957e42;hpb=b3babd5135c8683e68ce97cc76e0ec0487d4ee46;p=apply-default-acl.git diff --git a/makefile b/makefile index d6be6c5..602d6fd 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 test + clean: rm -f $(OBJS) rm -f aclq + +test: aclq + ./run-tests.sh