Commit dcdc0bc5 authored by POGODALLA Sylvain's avatar POGODALLA Sylvain
Browse files

No commit message

No commit message
parent 1b6c40da
...@@ -12,13 +12,16 @@ byte opt: ...@@ -12,13 +12,16 @@ byte opt:
all: byte opt all: byte opt
superclean clean: clean:
if test "$@" = clean ; then $(MAKE) -C config $@ ; fi if test "$@" = clean ; then $(MAKE) -C config $@ ; fi
$(MAKE) -C src $@ $(MAKE) -C src $@
rm -rf *.log *~ autom4te.cache rm -rf *.log *~ autom4te.cache
find . -name "*~" -exec rm -f {} \; find . -name "*~" -exec rm -f {} \;
-for file in $(BINARIES); do rm $$file ; done -for file in $(BINARIES); do rm $$file ; done
superclean: clean
-find . -name "*.in" -print | sed -e 's/\(.*\)\.in/\1/' | xargs -n 1 rm
install: install:
for file in $(BINARIES); do if test -x $$file ; then cp $$file @bindir@/. ; fi ; done for file in $(BINARIES); do if test -x $$file ; then cp $$file @bindir@/. ; fi ; done
......
###############################################
# #
# Makefile for directories with no executable #
# #
###############################################
include ../Makefile.master
###############################
# #
# Set the following variables #
# #
###############################
# Used libraries
LIBS += gramlib.cma
# The corresponding directories
# (if not in the main ocaml lib directory,
# ex. -I +campl4
LIBDIR = -I +camlp4
# Directories to which the current source files depend on
PREVIOUS_DIRS = ../utils ../lambda
# Source files in the right order of dependance
ML = base_grammar.ml abstract_syntax.ml syntax.ml term_grammar.ml signature_grammar.ml lexicon_grammar.ml parser.ml
EXE_SOURCES = test.ml
####################################
# #
# End of the configuration section #
# #
####################################
include ../Makefile.common
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment