mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-17 08:00:48 +01:00
695176ba79
from yacc. Put the lex.c parser.c and y.tab.h into a CLEANFILES target in the makefile, they are all generated and need to be removed on a clean.
16 lines
364 B
Makefile
16 lines
364 B
Makefile
LIB = forms
|
|
|
|
SRCS = forms.c parser.y lex.l menu.c fields.c
|
|
|
|
CFLAGS += -I. -I${.CURDIR} -Wall -g -DHASH_STATS
|
|
LDFLAGS += -ll
|
|
|
|
CLEANFILES+= lex.c parser.c y.tab.h
|
|
|
|
beforeinstall:
|
|
@(cd ${.CURDIR}; cmp -s forms.h ${DESTDIR}/usr/include/forms.h || \
|
|
install -c -o ${BINOWN} -g ${BINGRP} -m 444 forms.h \
|
|
${DESTDIR}/usr/include/forms.h;)
|
|
|
|
.include <bsd.lib.mk>
|