--- Makefile.orig 2016-06-04 10:05:27 UTC +++ Makefile @@ -1,14 +1,14 @@ PROG= moo SRCS= moo.c scan.c CPPFLAGS+= -I${.CURDIR} -COPTS+= -Wall -W -Wno-unused -Wshadow -pedantic -std=c99 +CFLAGS+= -Wall -W -Wno-unused -Wshadow -pedantic -std=c99 CLEANFILES+= moo.c y.tab.h scan.c lex.yy.c LOCALBASE?=/usr/local BINDIR=${LOCALBASE}/bin MANDIR=${LOCALBASE}/man/cat -regress:: +regress: cd ${.CURDIR}/regress && ${MAKE} MOO=${.OBJDIR}/moo .include