2001fa0e9d
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
21 lines
362 B
Makefile
21 lines
362 B
Makefile
#
|
|
# Makefile for building the dispol program
|
|
#
|
|
PREFIX ?= $(DESTDIR)/usr
|
|
BINDIR=$(PREFIX)/bin
|
|
LIBDIR ?= $(PREFIX)/lib
|
|
INCLUDEDIR ?= $(PREFIX)/include
|
|
|
|
CFLAGS ?= -g -Wall -W -Werror -O2 -pipe
|
|
override CFLAGS += -I$(INCLUDEDIR)
|
|
|
|
LDLIBS=-lfl $(LIBDIR)/libsepol.a -L$(LIBDIR)
|
|
|
|
all: dispol dismod
|
|
|
|
dispol: dispol.o
|
|
|
|
dismod: dismod.o
|
|
|
|
clean:
|
|
-rm -f dispol dismod *.o
|