Initial commit, 3-52-19 alpha
[cls.git] / xlisponly / compiler / Makefile
blob6d3737d842f1f95a088a43e784c768657b500e69
1 SRCDIR=../..
3 SRC=backquot.lsp cmpmacro.lsp convert.lsp cells.lsp simplify.lsp lift.lsp \
4 gencode.lsp peephole.lsp assemble.lsp cmpfront.lsp
6 FSL=backquot.fsl cmpmacro.fsl convert.fsl cells.fsl simplify.fsl lift.fsl \
7 gencode.fsl peephole.fsl assemble.fsl cmpfront.fsl
9 CMPLSP=../cmplsp/common.lsp ../cmplsp/conditns.lsp ../cmplsp/loadfsl.lsp
11 all: $(FSL)
13 $(CMPLSP):
14 (cd ../cmplsp; $(MAKE) common.lsp conditns.lsp loadfsl.lsp)
16 $(FSL): $(SRC) $(CMPLSP)
18 .SUFFIXES: .lsp .fsl
20 .lsp.fsl:
21 echo "(compile-file \"$<\") (exit)" \
22 | ../sources/xlisp.bin ../sources/cmpload
24 # this is used if compiling in a subdirectory of the xlispstat tree
25 $(SRC):
26 ln -s $(SRCDIR)/compiler/$@ $@
28 # this is used for creating the separate xlisp only distribution
29 srcfiles:
30 (cd $(SRCDIR)/compiler; tar cf - $(SRC) README) | tar xf -
32 clean:
33 rm -f *.fsl