Permalink
Browse files

Fix missing actions / dependancies in Makefiles

  • Loading branch information...
1 parent 7734fcf commit 178a93a4d9062c9e7487567801e4be7446dfa996 @rixed rixed committed Dec 31, 2012
Showing with 4 additions and 2 deletions.
  1. +1 −0 Makefile
  2. +2 −1 src/Makefile
  3. +1 −1 tests/Makefile
View
1 Makefile
@@ -15,6 +15,7 @@ uninstall:
clean:
cd src && make clean
+ cd tests && make clean
rebuild:
cd src && make rebuild
View
3 src/Makefile
@@ -47,7 +47,7 @@ jingoo_mt.cmx: jingoo_mt.ml
compiler: jingoo.cmxa jg_cmdline.ml
$(OCAMLOPT) -o $@ -linkpkg -package $(PKG) jingoo.cmxa jg_cmdline.ml
-install:
+install: all
ocamlfind install jingoo jingoo.a jingoo.cma jingoo.cmxa jingoo_mt.cm[ox] jingoo_mt.o *.cmi jg_types.mli jg_template.mli jg_stub.mli META
cp -f $(COMPILER) $(BINDIR)/$(EXE)
@@ -61,6 +61,7 @@ reinstall:
clean:
rm -f *.cmi *.cmo *.cmx *.cma *.a *.cmxa *.o *.annot *.byte
+ rm -f jg_lexer.ml jg_parser.ml jg_parser.mli
rm -f $(COMPILER)
rebuild:
View
2 tests/Makefile
@@ -19,6 +19,6 @@ rebuild:
make clean
make all
-run:
+run: test
./test

0 comments on commit 178a93a

Please sign in to comment.