summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjofret2006-12-04 16:26:19 +0000
committerjofret2006-12-04 16:26:19 +0000
commit0981c205fabfd5390f6cc52d70cf806deb81c0a7 (patch)
tree1a16d2db9c1439292ca1c63e6534f988986a731c /src
parentf02b59597e8ac973d47bed96ca8c0fe9ae058f8a (diff)
downloadscilab2c-0981c205fabfd5390f6cc52d70cf806deb81c0a7.tar.gz
scilab2c-0981c205fabfd5390f6cc52d70cf806deb81c0a7.tar.bz2
scilab2c-0981c205fabfd5390f6cc52d70cf806deb81c0a7.zip
Adding generation of float complex type as clone of double one.
Diffstat (limited to 'src')
-rw-r--r--src/type/Makefile17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/type/Makefile b/src/type/Makefile
index 4894baa8..992ba32c 100644
--- a/src/type/Makefile
+++ b/src/type/Makefile
@@ -5,7 +5,7 @@
## Made by Bruno JOFRET <bruno.jofret@inria.fr>
##
## Started on Thu Nov 30 16:33:40 2006 jofret
-## Last update Fri Dec 1 16:21:12 2006 jofret
+## Last update Mon Dec 4 17:24:37 2006 jofret
##
## Copyright INRIA 2006
##
@@ -38,19 +38,26 @@ FCOBJ = $(FCSRC:.c=.o)
all: $(LIBS)
-$(DCLIB) : $(DCOBJ)
+$(DCLIB) : $(DCHEAD) $(DCOBJ)
$(AR) $@ $<
$(RANLIB) $@
-$(FCLIB) : $(FCOBJ)
+$(FCLIB) : $(FCHEAD) $(FCOBJ)
$(AR) $@ $<
$(RANLIB) $@
+$(FCSRC) : $(DCSRC)
+ @echo "--> Generating $@ from $<"
+ @cat $< | sed s/double/float/g | sed s/Double/Float/g > $@
+
+$(FCHEAD) : $(DCHEAD)
+ @echo "--> Generating $@ from $<"
+ @cat $< | sed s/double/float/g | sed s/Double/Float/g > $@
+
clean:
$(RM) $(OBJS)
distclean: clean
- $(RM) $(NAME) $(LIBS)
+ $(RM) $(NAME) $(LIBS) $(FCSRC) $(FCHEAD)
-test: $(NAME)