Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: install-cobweb…
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 42 lines (32 sloc) 1.139 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
# On Windows, this makefile requires the use of GNU make from Redhat
# (http://sources.redhat.com/cygwin/).

SHELL = sh

on_windows = $(shell if test -d "c:/"; then echo yes; else echo no; fi)

use_dcl = $(shell if test -f ../dcl.dxl; then echo yes; else echo no; fi)

ifeq ($(on_windows),yes)
plus_args = +M +B +cn
endif

ifeq ($(use_dcl),yes)
mlisp = ../lisp $(plus_args) -I dcl.dxl
endif

ifndef mlisp
ifeq ($(on_windows),yes)
mlisp = "/cygdrive/c/acl82/mlisp.exe" $(plus_args)
else
mlisp = /fi/cl/8.2/bin/mlisp
endif
endif

test: FORCE
rm -f build.tmp
echo '(setq excl::*break-on-warnings* t)' >> build.tmp
echo '(load (compile-file "inflate.cl"))' >> build.tmp
echo '(load (compile-file "deflate.cl"))' >> build.tmp
echo '(dribble "test.out")' >> build.tmp
echo '(time (load (compile-file "t-gzip.cl")))' >> build.tmp
echo '(exit (+ test::.total-errors. test::*test-unexpected-failures* util.test::*test-errors*))' >> build.tmp
# -batch must come before -L, since arguments are evaluated from left to right
$(mlisp) -batch -L build.tmp -kill

clean: FORCE
rm -f build.tmp
find . -name '*.fasl' -print | xargs rm -f

FORCE:
Something went wrong with that request. Please try again.