Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NP_TMcode
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Giacomo Mulas
NP_TMcode
Commits
fb6fc032
Commit
fb6fc032
authored
1 year ago
by
Mulas, Giacomo
Browse files
Options
Downloads
Patches
Plain Diff
correct Makefiles for testing dir
parent
509e4102
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Makefile
+2
-0
2 additions, 0 deletions
src/Makefile
src/testing/Makefile
+13
-7
13 additions, 7 deletions
src/testing/Makefile
with
15 additions
and
7 deletions
src/Makefile
+
2
−
0
View file @
fb6fc032
...
...
@@ -21,11 +21,13 @@ clean: $(BUILDDIR)
$(
MAKE
)
-C
cluster clean
$(
MAKE
)
-C
sphere clean
$(
MAKE
)
-C
trapping clean
$(
MAKE
)
-C
testing clean
wipe
:
$(BUILDDIR)
$(
MAKE
)
-C
cluster wipe
$(
MAKE
)
-C
sphere wipe
$(
MAKE
)
-C
trapping wipe
$(
MAKE
)
-C
testing wipe
if
[
-d
$(
DOCSDIR
)
/build/html
]
;
then
rm
-r
$(
DOCSDIR
)
/build/html
;
fi
if
[
-d
$(
DOCSDIR
)
/build/latex
]
;
then
rm
-r
$(
DOCSDIR
)
/build/latex
;
fi
...
...
This diff is collapsed.
Click to expand it.
src/testing/Makefile
+
13
−
7
View file @
fb6fc032
ifndef
BUILDDIR
override
BUILDDIR
=
../../build/testing
override
BUILDDIR
=
../../build
endif
ifndef
BUILDDIR_TEST
override
BUILDDIR_TEST
=
$(
BUILDDIR
)
/testing
endif
ifndef
OBJDIR
override
OBJDIR
=
../objects
...
...
@@ -12,16 +15,19 @@ CXX_TEDF_OBJS=$(OBJDIR)/test_TEDF.o $(OBJDIR)/Configuration.o $(OBJDIR)/file_io.
CXX_TTMS_OBJS
=
$(
OBJDIR
)
/test_TTMS.o
$(
OBJDIR
)
/file_io.o
$(
OBJDIR
)
/Parsers.o
$(
OBJDIR
)
/TransitionMatrix.o
all
:
$(BUILDDIR)/test_TEDF $(BUILDDIR)/test_TTMS
all
:
$(BUILDDIR_TEST)/test_TEDF $(BUILDDIR_TEST)/test_TTMS
$(BUILDDIR_TEST)
:
mkdir
-p
$(
BUILDDIR_TEST
)
$(BUILDDIR)/test_TEDF
:
$(CXX_TEDF_OBJS)
$(
CXX
)
$(
CXXFLAGS
)
-o
$(
BUILDDIR
)
/test_TEDF
$(
CXX_TEDF_OBJS
)
$(
CXXLDFLAGS
)
$(BUILDDIR
_TEST
)/test_TEDF
:
$(CXX_TEDF_OBJS)
$(BUILDDIR_TEST)
$(
CXX
)
$(
CXXFLAGS
)
-o
$(
BUILDDIR
_TEST
)
/test_TEDF
$(
CXX_TEDF_OBJS
)
$(
CXXLDFLAGS
)
$(BUILDDIR)/test_TTMS
:
$(CXX_TTMS_OBJS)
$(
CXX
)
$(
CXXFLAGS
)
-o
$(
BUILDDIR
)
/test_TTMS
$(
CXX_TTMS_OBJS
)
$(
CXXLDFLAGS
)
$(BUILDDIR
_TEST
)/test_TTMS
:
$(CXX_TTMS_OBJS)
$(BUILDDIR_TEST)
$(
CXX
)
$(
CXXFLAGS
)
-o
$(
BUILDDIR
_TEST
)
/test_TTMS
$(
CXX_TTMS_OBJS
)
$(
CXXLDFLAGS
)
clean
:
rm
-f
$(
CXX_TEDF_OBJS
)
$(
CXX_TTMS_OBJS
)
wipe
:
rm
-f
$(
BUILDDIR
)
/test_TEDF
$(
BUILDDIR
)
/test_TTMS
$(
CXX_TEDF_OBJS
)
$(
CXX_TTMS_OBJS
)
rm
-f
$(
BUILDDIR
_TEST
)
/test_TEDF
$(
BUILDDIR
_TEST
)
/test_TTMS
$(
CXX_TEDF_OBJS
)
$(
CXX_TTMS_OBJS
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment