source: project/irnc-base/trunk/Makefile @ 4956

Last change on this file since 4956 was 4956, checked in by Tony Sidaway, 13 years ago

Examples

File size: 971 bytes
Line 
1# Makefile for irnc-base.egg
2irnc-baseCFLAGS=
3irnc-baseLIBS=
4
5CSC=csc
6CSCCC=$(CSC) $(irnc-baseCFLAGS)
7CSCLD=$(CSC) $(irnc-baseCFLAGS) $(irnc-baseLIBS)
8
9TARGETS=\
10        irnc-base.so
11
12EGG_CONTENTS=\
13        Makefile \
14        irnc-base.scm \
15        irnc-base.exports \
16        irnc-base.setup \
17        eggdoc-irnc-base.scm \
18        irnc-base.html \
19        irnc-examples/irnc-test-api-1.scm \
20        irnc-examples/irnc-test-api-2.scm \
21        irnc-examples/irnc-test-api-3.scm \
22        irnc-examples/irnc-test-api-4.scm \
23        irnc-examples/irnc-test-api-5.scm \
24        irnc-examples/irnc-test-edit.scm
25
26
27all: $(TARGETS)
28
29extension: irnc-base.so
30
31install: all
32        chicken-setup irnc-base
33
34uninstall:
35        chicken-setup -uninstall irnc-base
36
37irnc-base.html: eggdoc-irnc-base.scm
38        $(CSC) eggdoc-irnc-base.scm
39        ./eggdoc-irnc-base >irnc-base.html
40
41egg: irnc-base.egg
42
43irnc-base.egg: $(EGG_CONTENTS)
44        tar cvfz $@ $(EGG_CONTENTS)
45
46%.so: %.scm
47        $(CSCLD) -s -o $@ $<
48#       strip $@
49
50clean:
51        rm -f $(TARGETS)
52        rm -f STACKTRACE
53        rm -f eggdoc-irnc-base
54        rm -f irnc-base.egg
Note: See TracBrowser for help on using the repository browser.