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