@@ -17,11 +17,11 @@ CFLAGS ?= -Wall -Wshadow -Wextra -Wundef -Wmissing-format-attribute -Wcast-align
override CFLAGS += -I$(INCLUDEDIR) -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
+all: $(SECILC) man
+
$(SECILC): $(SECILC_OBJS)
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LDLIBS)
-all: $(SECILC) man
-
test: $(SECILC)
./$(SECILC) test/policy.cil
@@ -46,4 +46,4 @@ clean:
relabel:
-.PHONY: all clean test install doc relabel
+.PHONY: all clean test install doc relabel man
@@ -11,7 +11,7 @@ INTRODUCTION
DEPENDENCIES
gcc >= 4.5.1
- libsepol >= 2.4
+ libsepol >= 2.5
BUILD STEPS
- Update libsepol dependency to 2.5 - Update Makefile to build the man page when just running 'make' https://marc.info/?l=selinux&m=145220517200709&w=2 Reported-by: Nicolas Iooss <nicolas.iooss@m4x.org> Signed-off-by: Steve Lawrence <slawrence@tresys.com> --- secilc/Makefile | 6 +++--- secilc/README | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)