2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-22 01:57:43 +00:00

26 lines
414 B
Makefile
Raw Normal View History

2007-02-27 02:29:16 +00:00
# Profiling:
#EXTRA_CFLAGS = -pg
TARGET=libapparmor_re.a
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 ../immunix.h
2007-02-27 02:29:16 +00:00
${BISON} -o $@ $<
clean:
rm -f regexp.o regexp.cc regexp.so regexp.a regexp ${TARGET}