Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[lazy-k]

Add a Makefile


git-svn-id: http://svn.perl.org/parrot/trunk@25239 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information...
commit afa37bde8b09c701ee9179e7ddba8e53f38e2737 1 parent 85dd303
bernhard authored
Showing with 44 additions and 0 deletions.
  1. +44 −0 config/makefiles/root.in
44 config/makefiles/root.in
View
@@ -0,0 +1,44 @@
+# $Id: root.in 19929 2007-07-17 05:24:02Z fperrad $
+
+# Makefile for languages/lazy-k
+
+# Setup of some commands
+PARROT = @build_dir@/parrot@exe@
+PERL = @perl@
+RM_F = @rm_f@
+RECONFIGURE = $(PERL) @build_dir@/tools/dev/reconfigure.pl
+
+# set up location
+BUILD_DIR = @build_dir@
+
+default: all
+all: build
+
+help :
+ @echo ""
+ @echo "Following targets are available for the user:"
+ @echo ""
+ @echo " build: Nothing to do"
+ @echo " This is the default."
+ @echo ""
+ @echo " test: run the test suite,"
+ @echo ""
+ @echo " clean: clean up temporary files"
+ @echo ""
+ @echo " realclean: clean up generated files"
+ @echo ""
+ @echo " help: print this help message"
+
+# regenerate the Makefile
+Makefile: config/makefiles/root.in
+ cd $(BUILD_DIR) && $(RECONFIGURE) --step=gen::languages --languages=lazy-k
+
+build:
+
+test: build
+ cd .. && $(PERL) t/harness --languages=lazy-k
+
+clean:
+
+realclean: clean
+ $(RM_RF) Makefile
Please sign in to comment.
Something went wrong with that request. Please try again.