scsh-make/examples
jottbee c0ece4c94b small sample scsh-script using make in scsh 2005-03-10 09:49:34 +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 added automatic variables in (currently only) gnu style. 2005-02-15 19:03:05 +00:00
makefile-common-rules.scm new syntax for makefile. 2005-03-07 17:37:46 +00:00
makefile-tex.scm simple makefile to build tex stuff. 2005-02-15 18:42:14 +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
test-embed.scm small sample scsh-script using make in scsh 2005-03-10 09:49:34 +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.