blob: 8e5d16b3c5f0a4557a53f27172cfe6b7943d1242 [file] [log] [blame]
# Makefile for building the dispol program
CFLAGS ?= -g -Wall -W -Werror -O2
# If no specific libsepol.a is specified, fall back on LDFLAGS search path
# Otherwise, as $(LIBSEPOLA) already appears in the dependencies, there
# is no need to define a value for LDLIBS_LIBSEPOLA
ifeq ($(LIBSEPOLA),)
LDLIBS_LIBSEPOLA := -l:libsepol.a
all: dispol dismod
dispol: dispol.o $(LIBSEPOLA)
dismod: dismod.o $(LIBSEPOLA)
-rm -f dispol dismod *.o