blob: 6864114b60169a9c98713db8cf3a2ca3570423c4 [file] [log] [blame]
# Installation directories.
PREFIX ?= $(DESTDIR)/usr
BINDIR ?= $(PREFIX)/bin
CFLAGS ?= -Wall -Werror
override CFLAGS += -I../include
LDLIBS += -L../src -lsepol
TARGETS=$(patsubst %.c,%,$(wildcard *.c))
all: $(TARGETS)
install: all
-mkdir -p $(BINDIR)
install -m 755 $(TARGETS) $(BINDIR)
clean:
-rm -f $(TARGETS) *.o
indent:
../../scripts/Lindent $(wildcard *.[ch])
relabel: