selinux-refpolicy/libselinux/utils/Makefile

22 lines
345 B
Makefile
Raw Normal View History

2005-10-07 13:42:05 +00:00
# Installation directories.
PREFIX ?= $(DESTDIR)/usr
BINDIR ?= $(PREFIX)/sbin
CFLAGS ?= -Wall
override CFLAGS += -I../include -D_GNU_SOURCE
LDLIBS += -L../src -lselinux
TARGETS=$(patsubst %.c,%,$(wildcard *.c))
all: $(TARGETS)
install: all
-mkdir -p $(BINDIR)
install -m 755 $(TARGETS) $(BINDIR)
clean:
rm -f $(TARGETS) *.o
relabel: