Skip to content
Snippets Groups Projects
Commit f953deff authored by Douglas Guptill's avatar Douglas Guptill
Browse files

tweaks

parent ad497498
No related branches found
No related tags found
No related merge requests found
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
NAME=cascade NAME=cascade
include ../Makefile.p690 include ../Makefile.p690
LIBFILE=lib$(NAME)$(BITS).a
# object (all the interesting bits to do the erosion/sedimentation # object (all the interesting bits to do the erosion/sedimentation
# computations) # computations)
...@@ -49,9 +50,9 @@ del_flip.o ...@@ -49,9 +50,9 @@ del_flip.o
# make the library # make the library
# #
all: lib$(NAME).a all: $(LIBFILE)
lib$(NAME).a: $(OBJECTS) $(UTILS) $(LIBFILE): $(OBJECTS) $(UTILS)
$(AR) -rv lib$(NAME).a $(OBJECTS) $(AR) -rv $(LIBFILE) $(OBJECTS) >$(LIBFILE).ar
echo "--" echo "--"
echo "compiler output...." echo "compiler output...."
more $(COMPILE_OUT) more $(COMPILE_OUT)
...@@ -62,5 +63,5 @@ objclean: ...@@ -62,5 +63,5 @@ objclean:
.PHONY: clean .PHONY: clean
clean: objclean clean: objclean
rm -f lib$(NAME).a rm -f $(LIBFILE)
...@@ -45,10 +45,10 @@ CFLAGS = -O2 -qstrict -Q $(BITS) -qarch=pwr4 -qtune=pwr4 \ ...@@ -45,10 +45,10 @@ CFLAGS = -O2 -qstrict -Q $(BITS) -qarch=pwr4 -qtune=pwr4 \
# -lacml # -lacml
LIBS = \ LIBS = \
-LOCTREE -lOctree \ -LOCTREE -lOctree$(BITS) \
-LNN -lnn \ -LNN -lnn$(BITS) \
-LCASCADE -lcascade \ -LCASCADE -lcascade$(BITS) \
-LRESAMPLE -lresample \ -LRESAMPLE -lresample$(BITS) \
$(WSMP_LIB) \ $(WSMP_LIB) \
-L$(X11) -lX11 \ -L$(X11) -lX11 \
-L$(PGPLOT) -lpgplot \ -L$(PGPLOT) -lpgplot \
......
NAME=nn NAME=nn
include ../Makefile.p690 include ../Makefile.p690
LIBFILE=lib$(NAME)$(BITS).a
OBJECTS_NN = \ OBJECTS_NN = \
delaun.o \ delaun.o \
...@@ -11,9 +12,9 @@ stack.o \ ...@@ -11,9 +12,9 @@ stack.o \
stackpair.o \ stackpair.o \
volume.o volume.o
all: lib$(NAME).a all: $(LIBFILE)
lib$(NAME).a: $(OBJECTS_NN) $(LIBFILE): $(OBJECTS_NN)
$(AR) rcv lib$(NAME).a $(OBJECTS_NN) $(AR) -rv $(LIBFILE) $(OBJECTS_NN) >$(LIBFILE).ar
echo "--" echo "--"
echo "compiler output...." echo "compiler output...."
more $(COMPILE_OUT) more $(COMPILE_OUT)
...@@ -24,5 +25,5 @@ objclean: ...@@ -24,5 +25,5 @@ objclean:
.PHONY: clean .PHONY: clean
clean: objclean clean: objclean
rm -f lib$(NAME).a rm -f $(LIBFILE)
NAME=Octree NAME=Octree
include ../Makefile.p690 include ../Makefile.p690
LIBFILE=lib$(NAME)$(BITS).a
OBJECTS_OCTREE = \ OBJECTS_OCTREE = \
OctreeBitPlus.o \ OctreeBitPlus.o \
...@@ -12,9 +13,9 @@ profil_sloan.o \ ...@@ -12,9 +13,9 @@ profil_sloan.o \
rootls_sloan.o rootls_sloan.o
all: lib$(NAME).a all: $(LIBFILE)
lib$(NAME).a: $(OBJECTS_OCTREE) $(LIBFILE): $(OBJECTS_OCTREE)
$(AR) rcv lib$(NAME).a $(OBJECTS_OCTREE) $(AR) -rv $(LIBFILE) $(OBJECTS_OCTREE) >$(LIBFILE).ar
echo "--" echo "--"
echo "compiler output...." echo "compiler output...."
more $(COMPILE_OUT) more $(COMPILE_OUT)
...@@ -25,5 +26,5 @@ objclean: ...@@ -25,5 +26,5 @@ objclean:
.PHONY: clean .PHONY: clean
clean: objclean clean: objclean
rm -f lib$(NAME).a rm -f $(LIBFILE)
NAME=resample NAME=resample
include ../Makefile.p690 include ../Makefile.p690
LIBFILE=lib$(NAME)$(BITS).a
OBJECTS = \ OBJECTS = \
curfit.o \ curfit.o \
...@@ -16,9 +17,9 @@ curfit.o \ ...@@ -16,9 +17,9 @@ curfit.o \
splev.o \ splev.o \
resample.o resample.o
all: lib$(NAME).a all: $(LIBFILE)
lib$(NAME).a: $(OBJECTS) $(LIBFILE): $(OBJECTS)
$(AR) rcv lib$(NAME).a $(OBJECTS) $(AR) -rv $(LIBFILE) $(OBJECTS) >$(LIBFILE).ar
echo "--" echo "--"
echo "compiler output...." echo "compiler output...."
more $(COMPILE_OUT) more $(COMPILE_OUT)
...@@ -29,5 +30,5 @@ objclean: ...@@ -29,5 +30,5 @@ objclean:
.PHONY: clean .PHONY: clean
clean: objclean clean: objclean
rm -f lib$(NAME).a rm -f $(LIBFILE)
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