• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Makefile for building the dispol program
3#
4PREFIX ?= $(DESTDIR)/usr
5BINDIR=$(PREFIX)/bin
6LIBDIR ?= $(PREFIX)/lib
7INCLUDEDIR ?= $(PREFIX)/include
8
9CFLAGS ?= -g -Wall -W -Werror -O2 -pipe
10override CFLAGS += -I$(INCLUDEDIR)
11
12LDLIBS=-lfl $(LIBDIR)/libsepol.a -L$(LIBDIR)
13
14all: dispol dismod
15
16dispol: dispol.o
17
18dismod: dismod.o
19
20clean:
21	-rm -f dispol dismod *.o
22