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