-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
christos
committed
Oct 26, 2009
1 parent
4610357
commit 780cf21
Showing
10 changed files
with
1,653 additions
and
1,313 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,24 @@ | ||
# @(#)Makefile 8.1 (Berkeley) 6/6/93 | ||
# $OpenBSD: Makefile,v 1.11 2004/05/12 21:17:03 espie Exp $ | ||
|
||
# -DEXTENDED | ||
# if you want the paste & spaste macros. | ||
|
||
PROG= m4 | ||
CFLAGS+=-DEXTENDED | ||
SRCS= eval.c expr.c look.c main.c misc.c | ||
CFLAGS+=-DEXTENDED -I. | ||
CDIAGFLAGS=-W -Wall -Wstrict-prototypes -pedantic \ | ||
-Wno-unused -Wno-char-subscripts -Wno-sign-compare | ||
|
||
LDADD= -ly -ll | ||
DPADD= ${LIBY} ${LIBL} | ||
|
||
SRCS= eval.c expr.c look.c main.c misc.c gnum4.c trace.c tokenizer.l parser.y | ||
MAN= m4.1 | ||
|
||
parser.c parser.h: parser.y | ||
${YACC} -d ${.ALLSRC} && mv y.tab.c parser.c && mv y.tab.h parser.h | ||
|
||
tokenizer.o: parser.h | ||
|
||
CLEANFILES+=parser.c parser.h tokenizer.o | ||
|
||
.include <bsd.prog.mk> |
Oops, something went wrong.