Home | History | Annotate | Download | only in utils
      1 # Installation directories.
      2 PREFIX ?= $(DESTDIR)/usr
      3 BINDIR ?= $(PREFIX)/bin
      4 
      5 CFLAGS ?= -Wall -Werror
      6 override CFLAGS += -I../include
      7 LDLIBS += -L../src -lsepol 
      8 
      9 TARGETS=$(patsubst %.c,%,$(wildcard *.c))
     10 
     11 all: $(TARGETS)
     12 
     13 install: all
     14 	-mkdir -p $(BINDIR)
     15 	install -m 755 $(TARGETS) $(BINDIR)
     16 
     17 clean:
     18 	-rm -f $(TARGETS) *.o 
     19 
     20 indent:
     21 	../../scripts/Lindent $(wildcard *.[ch])
     22 
     23 relabel:
     24 
     25