Commit dcfbe1a5 authored by uqchw's avatar uqchw Committed by thomas.forbriger
Browse files

edited package rules

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.
added -f flag to clean rule



SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 5438
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent d83258d3
......@@ -57,7 +57,7 @@ edit: flist
vim $<
clean:
-/bin/rm *.o *.bak *.d flist $(PROGRAMS)
-/bin/rm -vf *.o *.bak *.d flist $(PROGRAMS)
#----------------------------------------------------------------------
......@@ -129,7 +129,7 @@ fullpackage: $(TF_MAKEPKG)
PACKAGE=disanwithlibs \
PACKAGEEXPORT="trunk/src/green/disan:src" \
PACKAGETARGETS="src:all" \
PACKAGELIBS="libsff libtf libseife libsffu libts libaff libtime libgsexx libsffxx libdatrwxx libtfxx libtsxx"
PACKAGELIBS="libsff libfapidxx libtf libsffu libts libaff libtime libgsexx libsffxx libdatrwxx"
endif
# ----- END OF Makefile -----
......@@ -71,8 +71,8 @@ LINLIB=-llapack -lblas
FLAGS += $(MYFLAGS)
FFLAGS += -ff2c -Wall -ffixed-line-length-0 -fno-backslash $(FLAGS)
CFLAGS += $(FLAGS)
LDFLAGS+=-L$(LOCLIBDIR) $(FLAGS)
CPPFLAGS+=-I$(LOCINCLUDEDIR) $(FLAGS)
LDFLAGS=$(addprefix -L,$(LOCLIBDIR) $(subst :, ,$(SERVERLIBDIR)))
AR=ar
RANLIB=ranlib
......@@ -139,5 +139,25 @@ docu/gremlin.dvi: docu/gremlin.tex
gremlin.pdf: docu/gremlin.dvi
cd docu; pdflatex gremlin
/bin/cp -vpd docu/gremlin.pdf $@
#======================================================================
# create package
# --------------
# is delegated to Makefile.packages
ifdef TF_MAKEPKG
.PHONY: package
package: $(TF_MAKEPKG)
$(MAKE) -f $< \
PACKAGE=gremlin \
PACKAGEEXPORT="trunk/src/green/gremlin1:src" \
PACKAGETARGETS="src:all" \
PACKAGELIBS="-"
.PHONY: fullpackage
fullpackage: $(TF_MAKEPKG)
$(MAKE) -f $< \
PACKAGE=gremlinwithlibs \
PACKAGEEXPORT="trunk/src/green/gremlin1:src trunk/src/synt/ref/refmet:contrib/refmet" \
PACKAGETARGETS="contrib/refmet:all src:all" \
PACKAGELIBS="libemod libsff libsffu libtf libts libfapidxx libtfxx libdatrwxx libsffxx libtime libgsexx libtsxx libseife libaff libgrrefsub libwrefsub"
endif
# ----- END OF Makefile -----
......@@ -70,7 +70,7 @@ CPPFLAGS=$(addprefix -I,$(LOCINCLUDEDIR) $(subst :, ,$(SERVERINCLUDEDIR))) \
clean: ;
-find . -name \*.bak | xargs --no-run-if-empty /bin/rm -v
-/bin/rm -vf flist
-/bin/rm -v *.o *.bak *.o77 flist *.f2.o *.d
-/bin/rm -vf *.o *.bak *.o77 flist *.f2.o *.d
.PHONY: edit
edit: flist ; vim flist
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment