summaryrefslogtreecommitdiff
path: root/yacc/Makefile.nt
diff options
context:
space:
mode:
Diffstat (limited to 'yacc/Makefile.nt')
-rw-r--r--yacc/Makefile.nt34
1 files changed, 1 insertions, 33 deletions
diff --git a/yacc/Makefile.nt b/yacc/Makefile.nt
index 7c13f4c060..917f48bda3 100644
--- a/yacc/Makefile.nt
+++ b/yacc/Makefile.nt
@@ -13,39 +13,7 @@
#* *
#**************************************************************************
-# Makefile for the parser generator.
-
-include ../config/Makefile
-
-OBJS= closure.$(O) error.$(O) lalr.$(O) lr0.$(O) main.$(O) \
- mkpar.$(O) output.$(O) reader.$(O) \
- skeleton.$(O) symtab.$(O) verbose.$(O) warshall.$(O)
-
-all: ocamlyacc.exe
-
-ocamlyacc.exe: $(OBJS)
- $(MKEXE) -o ocamlyacc.exe $(OBJS) $(EXTRALIBS)
-
-version.h : ../VERSION
- echo "#define OCAML_VERSION \"`sed -e 1q ../VERSION`\"" >version.h
-
-clean:
- rm -f *.$(O) ocamlyacc.exe *~ version.h
+include Makefile
%.$(O): %.c
$(BYTECC) -DNDEBUG -DNO_UNIX $(BYTECCCOMPOPTS) -c $<
-
-depend:
-
-closure.$(O): defs.h
-error.$(O): defs.h
-lalr.$(O): defs.h
-lr0.$(O): defs.h
-main.$(O): defs.h version.h
-mkpar.$(O): defs.h
-output.$(O): defs.h
-reader.$(O): defs.h
-skeleton.$(O): defs.h
-symtab.$(O): defs.h
-verbose.$(O): defs.h
-warshall.$(O): defs.h