diff options
author | jofret | 2007-02-02 15:09:34 +0000 |
---|---|---|
committer | jofret | 2007-02-02 15:09:34 +0000 |
commit | 938d363f979742c697b190b36568ac35b84decab (patch) | |
tree | b5059cb0824fa4503094158cc05981e2444d2d07 /src/type/Makefile | |
parent | 1f2b1f49842a9a788303ef48bbc4e39eb4fa058c (diff) | |
download | scilab2c-938d363f979742c697b190b36568ac35b84decab.tar.gz scilab2c-938d363f979742c697b190b36568ac35b84decab.tar.bz2 scilab2c-938d363f979742c697b190b36568ac35b84decab.zip |
Double C99 Complex implementation
Diffstat (limited to 'src/type/Makefile')
-rw-r--r-- | src/type/Makefile | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/src/type/Makefile b/src/type/Makefile index 77bb93c4..b7ed4846 100644 --- a/src/type/Makefile +++ b/src/type/Makefile @@ -5,22 +5,25 @@ ## Made by Bruno JOFRET <bruno.jofret@inria.fr> ## ## Started on Thu Nov 30 16:33:40 2006 jofret -## Last update Thu Dec 7 15:04:27 2006 jofret +## Last update Fri Feb 2 15:37:53 2007 jofret ## ## Copyright INRIA 2006 ## RM = rm -f CC = gcc -CFLAGS = -Wall -pedantic -ansi -Werror +CFLAGS = -Wall -pedantic -ansi $(STANDARD) AR = ar cru RANLIB = ranlib -OBJS = $(DCOBJ) $(FCOBJ) +OBJS = $(DCOBJ) $(FCOBJ) $(TESTDCOBJ) $(TESTFCOBJ) LIBS = $(DCLIB) $(FCLIB) +TESTS = $(TESTDC) $(TESTFC) ### test - +TESTDCSRC = testDoubleComplex.c +TESTDCOBJ = $(TESTDCSRC:.c=.o) +TESTDC = testDoubleComplex ### Double Complex DCLIB = ../lib/libDoubleComplex.a @@ -44,11 +47,20 @@ $(DCLIB) : $(DCHEAD) $(DCOBJ) $(FCLIB) : $(FCHEAD) $(FCOBJ) $(AR) $@ $(FCOBJ) $(RANLIB) $@ + +test: $(TESTDC) + + +$(TESTDC) : $(DCOBJ) $(TESTDCOBJ) + $(CC) $(CFLAGS) $(DCOBJ) $(TESTDCOBJ) -o $@ + clean: $(RM) $(OBJS) distclean: clean - $(RM) $(LIBS) + $(RM) $(LIBS) $(TESTS) re: clean all +retest: clean test + |