[cvs] bogofilter/doc/programmer/RISC-OS/gsl Makefile,NONE,1.1
Fast Bayesian spam filter along lines suggested by Paul Graham
Brought to you by:
m-a
From: <re...@us...> - 2003-09-28 12:35:31
|
Update of /cvsroot/bogofilter/bogofilter/doc/programmer/RISC-OS/gsl In directory sc8-pr-cvs1:/tmp/cvs-serv29065/RISC-OS/gsl Added Files: Makefile Log Message: Update RISC-OS support. --- NEW FILE: Makefile --- # Makefile for the RISC OS version of gsl # Define which compiler to use: CC = cc #CC = gcc ######################################### # DO NOT EDIT ANYTHING BELOW THIS LINE! # ######################################### ifeq (${CC},cc) CC = cc LD = link AR = libfile DEPEND = -depend !Depend CC_FLAGS = -Wpc -zo -fw -throwback -Otime -I^,@,Unix: -JUnix: -D__riscos__ -DHAVE_CONFIG_H UNIXLIB = Unix:o.UnixLib else ifeq (${CC},gcc) CC = gcc LD = gcc AR = ar CC_FLAGS = -mthrowback -O3 -I^ -I@ -D__riscos__ -DHAVE_CONFIG_H else # No other compiler supported! endif endif CDF_OBJS = cdf.o.chisq \ cdf.o.gamma ERR_OBJS = err.o.error \ err.o.stream SPECFUNC_OBJS = specfunc.o.elementary \ specfunc.o.erfc \ specfunc.o.exp \ specfunc.o.expint \ specfunc.o.gamma_inc \ specfunc.o.log \ specfunc.o.psi \ specfunc.o.trig \ specfunc.o.zeta SYS_OBJS = sys.o.coerce \ sys.o.fdiv \ sys.o.infnan \ sys.o.pow_int .INIT: @cdir cdf.o @cdir err.o @cdir specfunc.o @cdir sys.o ## Rule Patterns ## .SUFFIXES: .c .o .c.o: $(CC) $(CC_FLAGS) $(DEPEND) -c -o $@ $< # Static dependencies: libgsl: $(CDF_OBJS) $(ERR_OBJS) $(SPECFUNC_OBJS) $(SYS_OBJS) $(AR) $(AR_FLAGS) -c -o $@ $(CDF_OBJS) $(ERR_OBJS) $(SPECFUNC_OBJS) $(SYS_OBJS) clean: -ifthere libgsl then wipe libgsl ~CFR~V -ifthere cdf.o.* then wipe cdf.o.* ~CFR~V -ifthere err.o.* then wipe err.o.* ~CFR~V -ifthere specfunc.o.* then wipe specfunc.o.* ~CFR~V -ifthere sys.o.* then wipe sys.o.* ~CFR~V # The following have to be compiled with GCC as they produce an # internal compiler error with Norcroft C (tested version 5.53) specfunc.o.exp: specfunc.c.exp gcc -mthrowback -O3 -I^ -I@ -D__riscos__ -DHAVE_CONFIG_H -c -o $@ specfunc.c.exp specfunc.o.gamma_inc: specfunc.c.gamma_inc gcc -mthrowback -O3 -I^ -I@ -D__riscos__ -DHAVE_CONFIG_H -c -o $@ specfunc.c.gamma_inc # Dynamic dependencies: |