apparmor/parser/libapparmor_re/Makefile

26 lines
400 B
Makefile
Raw Normal View History

2007-02-27 02:29:16 +00:00
# Profiling:
#EXTRA_CFLAGS = -pg
TARGET=libapparmor_re.a
2007-03-23 23:52:36 +00:00
CFLAGS = -g -Wall -O2 ${EXTRA_CFLAGS}
2007-02-27 02:29:16 +00:00
CXXFLAGS := ${CFLAGS}
ARFLAGS=-rcs
BISON := bison
all : ${TARGET}
libapparmor_re.a: regexp.o
ar ${ARFLAGS} $@ $^
regexp.o : regexp.cc apparmor_re.h
$(LINK.cc) $< -c -o $@
2007-02-27 02:29:16 +00:00
regexp.cc : regexp.y flex-tables.h
${BISON} -o $@ $<
clean:
rm -f regexp.o regexp.cc regexp.so regexp.a regexp ${TARGET}