X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=Makefile.common;h=87e43ef497a7c743af73376903d4c978df1d7ad8;hp=c3aedeb5157a78f38ce53b9873d101b511d4aa5c;hb=ab37892bfa71e0d66021cc73f28cd189be30c81c;hpb=62b30f29f978dfc2258991aec8703d2489fe79c0 diff --git a/Makefile.common b/Makefile.common index c3aedeb..87e43ef 100644 --- a/Makefile.common +++ b/Makefile.common @@ -1,10 +1,17 @@ +UNAME=$(shell uname) + +OS_AIX=$(shell expr "$(UNAME)" : '.*AIX.*') +OS_SUNOS=$(shell expr "$(UNAME)" : '.*SunOS.*') +OS_DARWIN=$(shell expr "$(UNAME)" : '.*Darwin.*') +OS_CYGWIN=$(shell expr "$(UNAME)" : '.*CYGWIN.*') + all: .PHONY: clean clean: @rm -rf .bin - @rm -f *.ufsl *.fsl *.fas *.x86f *.sparcf *.fasl + @rm -f *.ufsl *.fsl *.fas *.x86f *.sparcf *.fasl *.pfsl *.dfsl @rm -f *.fasla8 *.fasla16 *.faslm8 *.faslm16 *.faslmt @rm -f *~ *.bak *.orig *.err \#*\# .#* @rm -f *.so *.a