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 LIBSEPOLA ?= $(LIBDIR)/libsepol.a
      9 
     10 CFLAGS ?= -g -Wall -W -Werror -O2 -pipe
     11 
     12 all: dispol dismod
     13 
     14 dispol: dispol.o $(LIBSEPOLA)
     15 
     16 dismod: dismod.o $(LIBSEPOLA)
     17 
     18 clean:
     19 	-rm -f dispol dismod *.o 
     20