Skip to content
Snippets Groups Projects
Commit ef2becf5 authored by Jan Willem Thorbecke's avatar Jan Willem Thorbecke
Browse files

extrap fortran compilation of remez.f

parent 14db7f37
No related branches found
No related tags found
No related merge requests found
......@@ -23,16 +23,14 @@ MPICTARGET= %: %.c
INSTALL: $(CPROGS) $(MPICPROGS)
$(CPROGS): $(CTARGET) $L/libextrap2d.a
$(CC) $(CFLAGS) $(OPTC) $(CPPFLAGS) $@.c $(LDFLAGS) -o $@.tmp
test ! -f $@ || $(RM) $@
mv $@.tmp $B/$@
$(CC) $(CFLAGS) $(OPTC) $(CPPFLAGS) $@.c $(LDFLAGS) -o $@
cp -rp $@ $B/$@
$(MPICPROGS): $(MPICTARGET) $L/libextrap2d.a
ifdef MPICC
@test -d $(@D) || mkdir -p $(patsubst %/,%,$(@D))
$(MPICC) -DMPI $(CFLAGS) $(OPTC) $(CPPFLAGS) $(@F).c $(LDFLAGS) -o $@.tmp
test ! -f $@ || $(RM) $@
mv $@.tmp $B/$@
$(MPICC) -DMPI $(CFLAGS) $(OPTC) $(CPPFLAGS) $(@F).c $(LDFLAGS) -o $@
cp -rp $@ $B/$@
else
@echo cannot make $@ because no MPI-C compiler has been defined
endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment