scsh-make/examples
jottbee a8dd2ab60b examples: a small c program to be build through makefile-c.scm
to-rule-set: rule-candidates -> dfs -> '(#{:rule} ...) -> rule-set

dfs:      depth first topological sort with automatic leaf insertion

out-of-date: replaced by templates.scm

rule-trans-set: replaced by to-rule-set
2005-02-04 08:05:55 +00:00
..
README examples: a small c program to be build through makefile-c.scm 2005-02-04 08:05:55 +00:00
checksums.md5 examples: a small c program to be build through makefile-c.scm 2005-02-04 08:05:55 +00:00
config.h examples: a small c program to be build through makefile-c.scm 2005-02-04 08:05:55 +00:00
main.c examples: a small c program to be build through makefile-c.scm 2005-02-04 08:05:55 +00:00
makefile-c.scm examples: a small c program to be build through makefile-c.scm 2005-02-04 08:05:55 +00:00
manual.tex examples: a small c program to be build through makefile-c.scm 2005-02-04 08:05:55 +00:00
mymath.c examples: a small c program to be build through makefile-c.scm 2005-02-04 08:05:55 +00:00
mymath.h examples: a small c program to be build through makefile-c.scm 2005-02-04 08:05:55 +00:00
wildio.c examples: a small c program to be build through makefile-c.scm 2005-02-04 08:05:55 +00:00
wildio.h examples: a small c program to be build through makefile-c.scm 2005-02-04 08:05:55 +00:00

README

Starting make:
==============

In XEmacs open a new buffer to edit this makefile-c.scm. Make sure you
had no active scheme-buffer. This will have the effect that your
current working directory is the one with makefile-c.scm in it. Now
open a new scheme-buffer with 'M-x run-scheme'. You should have passed
(at least) the following arguments to scsh:

	'scsh -lel cml/load.scm -lel concurrency/load.scm'

Now load the packages.scm file into package config:

	> ,config ,load ../packages.scm

Open the structures macros and make in package user:

	> ,open macros make

Load makefile-c.scm:

	> ,load makefile-c.scm

Start make:

	> (make rule-set (list "test"))

This should start a build all, install, and test installation process.
By default, the installation directory will be ../../image.

Have fun.