From 15c73b4d41d69f6fdf57b3f368d9a90eee8a5280 Mon Sep 17 00:00:00 2001 From: Salvatore Filippone Date: Sat, 2 May 2015 17:13:31 +0000 Subject: [PATCH] *** empty log message *** --- base/serial/sort/Makefile | 43 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 base/serial/sort/Makefile diff --git a/base/serial/sort/Makefile b/base/serial/sort/Makefile new file mode 100644 index 00000000..e4449f5b --- /dev/null +++ b/base/serial/sort/Makefile @@ -0,0 +1,43 @@ +include ../../../Make.inc + +# +# The object files +# +BOBJS=psi_lcx_mod.o psi_alcx_mod.o psi_acx_mod.o +SOBJS=psb_s_hsort_impl.o psb_s_isort_impl.o psb_s_msort_impl.o psb_s_qsort_impl.o +DOBJS=psb_d_hsort_impl.o psb_d_isort_impl.o psb_d_msort_impl.o psb_d_qsort_impl.o +COBJS=psb_c_hsort_impl.o psb_c_isort_impl.o psb_c_msort_impl.o psb_c_qsort_impl.o +ZOBJS=psb_z_hsort_impl.o psb_z_isort_impl.o psb_z_msort_impl.o psb_z_qsort_impl.o + +OBJS=$(BOBJS) $(SOBJS) $(DOBJS) $(COBJS) $(ZOBJS) + +# +# Where the library should go, and how it is called. +# Note that we are regenerating most of libsparker.a on the fly. +LIBDIR=../.. +INCDIR=../.. +MODDIR=../../modules +FINCLUDES=$(FMFLAG). $(FMFLAG)$(MODDIR) $(FMFLAG)$(INCDIR) +LIBFILE=$(LIBDIR)/$(LIBNAME) + +# +# No change should be needed below +# + + +default: lib + +lib: $(OBJS) + $(AR) $(LIBDIR)/$(LIBNAME) $(OBJS) + $(RANLIB) $(LIBDIR)/$(LIBNAME) + +# A bit excessive, but safe +$(OBJS): $(MODDIR)/psb_base_mod.o + +clean: cleanobjs + +veryclean: cleanobjs + +cleanobjs: + /bin/rm -f $(OBJS) +