1 # Makefile for Berkeley yacc.
7 CFLAGS
= -DNDEBUG
-D_MINIX
-D_POSIX_SOURCE
-wo
$(OPT
)
51 $(PROGRAM
): $(OBJS
) $(LIBS
)
52 $(LINKER
) $(LDFLAGS
) -o
$(PROGRAM
) $(OBJS
) $(LIBS
)
53 install -S
484k
$(PROGRAM
)
55 install: $(BINDIR
)/yacc
57 $(BINDIR
)/yacc: $(PROGRAM
)
58 install -cs
-o bin
$(PROGRAM
) $@
60 clean:; rm -f
$(OBJS
) $(PROGRAM
) core
62 #depend:; @mkmf -f $(MAKEFILE) PROGRAM=$(PROGRAM) DEST=$(DEST)
64 #index:; @ctags -wx $(HDRS) $(SRCS)
66 #listing:; @$(PRINT) Makefile $(HDRS) $(SRCS) | lpr
72 #tags: $(HDRS) $(SRCS); @ctags $(HDRS) $(SRCS)