r11060: fix loop error on clisp. RESULT-SET should be T at start of loop to avoid...
[clsql.git] / Makefile.common
1 UNAME=$(shell uname)
2
3 OS_AIX=$(shell expr "$(UNAME)" : '.*AIX.*')
4 OS_SUNOS=$(shell expr "$(UNAME)" : '.*SunOS.*')
5 OS_DARWIN=$(shell expr "$(UNAME)" : '.*Darwin.*')
6 OS_CYGWIN=$(shell expr "$(UNAME)" : '.*CYGWIN.*')
7
8 all:
9         
10
11 .PHONY: clean
12 clean:
13         @rm -rf .bin
14         @rm -f *.ufsl *.fsl *.fas *.x86f *.sparcf *.fasl  *.pfsl *.dfsl
15         @rm -f *.fasla8 *.fasla16 *.faslm8 *.faslm16 *.faslmt
16         @rm -f *~ *.bak *.orig *.err \#*\# .#*
17         @rm -f *.so *.a
18         @rm -rf debian/cl-sql
19 ifneq ($(SUBDIRS)$(DOCSUBDIRS),)
20         @set -e; for i in $(SUBDIRS) $(DOCSUBDIRS); do \
21                 $(MAKE) -C $$i $@; done
22 endif
23
24 distclean: clean
25 ifneq ($(SUBDIRS)$(DOCSUBDIRS),)
26         @set -e; for i in $(SUBDIRS) $(DOCSUBDIRS); do \
27                 $(MAKE) -C $$i $@; done
28 endif
29
30 .SUFFIXES:            # No default suffixes