]> gitweb.michael.orlitzky.com - apply-default-acl.git/blobdiff - makefile
Add a 'test' makefile target.
[apply-default-acl.git] / makefile
index d6be6c5a2e589ed8a74153be6199128b14957e42..ae7d943432f463b8a741ceec1fd6449ddfdf1141 100644 (file)
--- 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:
+       ./run-tests.sh