Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
LabComm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sven Gestegård Robertz
LabComm
Commits
7ba4679a
Commit
7ba4679a
authored
12 years ago
by
Anders Blomdell
Browse files
Options
Downloads
Patches
Plain Diff
Makefile cleanup
parent
031d8eff
No related branches found
No related tags found
No related merge requests found
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
Makefile
+26
-7
26 additions, 7 deletions
Makefile
examples/Makefile
+8
-0
8 additions, 0 deletions
examples/Makefile
lib/Makefile
+3
-0
3 additions, 0 deletions
lib/Makefile
lib/csharp/Makefile
+1
-1
1 addition, 1 deletion
lib/csharp/Makefile
test/Makefile
+3
-1
3 additions, 1 deletion
test/Makefile
with
41 additions
and
9 deletions
Makefile
+
26
−
7
View file @
7ba4679a
SUBDIRS
=
compiler lib examples
test
export
LABCOMM_JAR
=
$(
shell
pwd
)
/compiler/labComm.jar
export
LABCOMM
=
java
-jar
$(
LABCOMM_JAR
)
all
:
compiler
$(
MAKE
)
-C
lib
$(
MAKE
)
-C
lib/c run-test
all
:
$(SUBDIRS:%=make-%)
.PHONY
:
compiler
compiler
:
.PHONY
:
make-
compiler
make-
compiler
:
cd
compiler
;
ant jar
.PHONY
:
make-%
make-%
:
$(
MAKE
)
-C
$*
-e
.PHONY
:
test
test
:
$(
MAKE
)
-C
test
-e
test
:
$(SUBDIRS:%=test-%)
.PHONY
:
test-compiler
test-compiler
:
.PHONY
:
test-%
test-%
:
$(
MAKE
)
-C
$*
-e
test
.PHONY
:
clean
clean
:
$(SUBDIRS:%=clean-%)
.PHONY
:
clean-compiler
clean-compiler
:
cd
compiler
;
ant clean
.PHONY
:
clean-%
clean-%
:
$(
MAKE
)
-C
$*
-e
clean
This diff is collapsed.
Click to expand it.
examples/Makefile
0 → 100644
+
8
−
0
View file @
7ba4679a
all
:
echo
To be
done
...
test
:
echo
To be
done
...
clean
:
echo
To be
done
...
This diff is collapsed.
Click to expand it.
lib/Makefile
+
3
−
0
View file @
7ba4679a
...
...
@@ -3,6 +3,9 @@ all:
cd
csharp
;
make
cd
java
;
make
test
:
$(
MAKE
)
-C
c
-e
run-test
clean
:
cd
c
;
make clean
cd
csharp
;
make clean
...
...
This diff is collapsed.
Click to expand it.
lib/csharp/Makefile
+
1
−
1
View file @
7ba4679a
...
...
@@ -16,4 +16,4 @@ labcomm.dll: $(MODULES:%=se/lth/control/labcomm/%.cs) Makefile
mcs
-out
:
$@
-target
:library
$(
filter %.cs,
$^
)
clean
:
rm
labcomm.dll
rm
-f
labcomm.dll
This diff is collapsed.
Click to expand it.
test/Makefile
+
3
−
1
View file @
7ba4679a
...
...
@@ -2,7 +2,9 @@ TESTS=basic simple nested
LABCOMM_JAR
=
../compiler/labComm.jar
LABCOMM
=
java
-jar
$(
LABCOMM_JAR
)
all
:
$(TESTS:%=test_%)
all
:
test
:
$(TESTS:%=test_%)
# PYTHONPATH=../lib/python \
# ./test_encoder_decoder.py --labcomm="$(LABCOMM)" basic.lc
...
...
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