From 2aeadeb3bfc61ca2783c58a09ca3ddc0387ce13a Mon Sep 17 00:00:00 2001 From: Giovanni La Mura <giovanni.lamura@inaf.it> Date: Wed, 20 Dec 2023 18:06:57 +0100 Subject: [PATCH] Create rule to compile only C++ code --- src/Makefile | 4 ++++ src/cluster/Makefile | 2 ++ src/sphere/Makefile | 2 ++ src/trapping/Makefile | 3 +++ 4 files changed, 11 insertions(+) diff --git a/src/Makefile b/src/Makefile index 544534f8..db506dae 100644 --- a/src/Makefile +++ b/src/Makefile @@ -5,6 +5,10 @@ DOCSDIR=$(SRCDIR)/../doc all: $(SUBDIRS) +conly: + cd cluster; make conly + cd sphere; make conly + docs: cd $(DOCSDIR)/src; doxygen config.dox diff --git a/src/cluster/Makefile b/src/cluster/Makefile index 694bbc0d..d1f3927a 100644 --- a/src/cluster/Makefile +++ b/src/cluster/Makefile @@ -12,6 +12,8 @@ all: clu edfb np_cluster clu: clu.o $(FC) $(FCFLAGS) -o $(BUILDDIR)/clu $(BUILDDIR)/clu.o $(LFLAGS) +conly: np_cluster + edfb: edfb.o $(FC) $(FCFLAGS) -o $(BUILDDIR)/edfb $(BUILDDIR)/edfb.o $(LFLAGS) diff --git a/src/sphere/Makefile b/src/sphere/Makefile index f70b833d..3c1566bb 100644 --- a/src/sphere/Makefile +++ b/src/sphere/Makefile @@ -8,6 +8,8 @@ CXXLFLAGS= all: edfb sph np_sphere +conly: np_sphere + edfb: edfb.o $(FC) $(FCFLAGS) -o $(BUILDDIR)/edfb $(BUILDDIR)/edfb.o $(LFLAGS) diff --git a/src/trapping/Makefile b/src/trapping/Makefile index bfad43bd..592126ef 100644 --- a/src/trapping/Makefile +++ b/src/trapping/Makefile @@ -14,6 +14,9 @@ lffft: lffft.o clean: rm -f $(BUILDDIR)/*.o +conly: + echo "Trapping not yet implemented." + wipe: rm -f $(BUILDDIR)/frfme $(BUILDDIR)/lffft $(BUILDDIR)/*.o -- GitLab