Changeset 2960

Show
Ignore:
Timestamp:
04/11/08 15:11:41 (7 months ago)
Author:
ksprotte
Message:

bos Makefile + screenrc-sample play well

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/projects/bos/Makefile

    r2358 r2960  
    22.PHONY: all 
    33 
    4 cmucl.core: 
    5         lisp -load make-base-lisp.lisp 
    6  
    7 bos.core: cmucl.core build.sh load.lisp build.lisp 
    8         ./build.sh 
    9  
    10 # run with slime 
    11 .PHONY: slime 
    12 slime: bos.core 
    13         lisp -core bos.core -slime 
    14  
    15 # test 
    16  
    17 .PHONY: test 
    18 test: bos.core 
    19         lisp -core bos.core -run-tests -slime 
     4bos.core: build.lisp 
     5        sbcl --load build.lisp --eval '(sb-ext:save-lisp-and-die "bos.core")' 
    206 
    217# various cleaning stuff 
    228.PHONY: cleancore 
    239cleancore: 
    24         rm -f cmucl.core 
    2510        rm -f bos.core 
    2611 
    2712.PHONY: cleanfasl 
    2813cleanfasl: 
    29         (cd ../.. && find . -name '*.x86f' | xargs rm
     14        (cd ../.. && sbcl --disable-debugger --load clean.lisp --eval '(quit)'
    3015 
    3116.PHONY: cleanall 
     
    3520clean: cleancore 
    3621 
    37 # I once had the problem that compiling 
    38 # and loading a lisp source was fine, 
    39 # but loading the pre-compiled fasl failed... 
    40  
    41 .PHONY: crazy_build_test 
    42 crazy_build_test: 
    43         make cleanall 
    44         make all 
    45         make cleancore 
    46         make all 
    47  
    4822# TAGS 
    49  
    5023TAGS: 
    5124        find . -name '*.lisp' | xargs etags -a 
    52  
  • trunk/projects/bos/screenrc-sample

    r2956 r2960  
    1414setenv LANG en_US.UTF-8 
    1515 
    16 screen -t webserver sbcl --load start.lisp --eval '(start)' 
     16screen -t webserver sbcl --core bos.core --eval '(start)' 
    1717#logfile screen.log 
    1818#log on 
    19 screen -t cert-daemon sbcl --load start.lisp --eval '(start-cert-daemon)' 
     19screen -t cert-daemon sbcl --core bos.core --eval '(start-cert-daemon)' 
    2020 
    2121msgminwait 1