Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tommy Olofsson
LabComm
Commits
c6627bc8
Commit
c6627bc8
authored
Jan 28, 2015
by
Anders Blomdell
Browse files
Repaired some Makefile damage.
parent
81ce8bc1
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/c/2006/Makefile
View file @
c6627bc8
...
@@ -24,7 +24,7 @@ OBJS=labcomm$(VERSION).o \
...
@@ -24,7 +24,7 @@ OBJS=labcomm$(VERSION).o \
labcomm
$(VERSION)
_pthread_scheduler.o
labcomm
$(VERSION)
_pthread_scheduler.o
LABCOMM_JAR
=
../../../compiler/labcomm
$(LIBVERSION)
_compiler.jar
LABCOMM_JAR
=
../../../compiler/labcomm
$(LIBVERSION)
_compiler.jar
LABCOMM
=
java
-jar
$(LABCOMM_JAR)
LABCOMM
=
java
-jar
$(LABCOMM_JAR)
TESTS
=
test_labcomm_basic_type_encoding
\
TESTS
=
test_labcomm_basic_type_encoding
\
test_labcomm_generated_encoding
\
test_labcomm_generated_encoding
\
...
@@ -96,6 +96,7 @@ $(TEST_DIR)/gen/%.o: $(TEST_DIR)/%.c | $(TEST_DIR)/gen
...
@@ -96,6 +96,7 @@ $(TEST_DIR)/gen/%.o: $(TEST_DIR)/%.c | $(TEST_DIR)/gen
.PRECIOUS
:
$(TEST_DIR)/gen/%.h
.PRECIOUS
:
$(TEST_DIR)/gen/%.h
$(TEST_DIR)/gen/%.c $(TEST_DIR)/gen/%.h
:
$(TEST_DIR)/%.lc | $(TEST_DIR)/gen
$(TEST_DIR)/gen/%.c $(TEST_DIR)/gen/%.h
:
$(TEST_DIR)/%.lc | $(TEST_DIR)/gen
$(LABCOMM)
\
$(LABCOMM)
\
--ver
=
$(VERSION)
\
--c
=
$(TEST_DIR)
/gen/
$*
.c
\
--c
=
$(TEST_DIR)
/gen/
$*
.c
\
--h
=
$(TEST_DIR)
/gen/
$*
.h
\
--h
=
$(TEST_DIR)
/gen/
$*
.h
\
$<
$<
...
...
lib/c/Makefile
View file @
c6627bc8
...
@@ -8,5 +8,6 @@ all:
...
@@ -8,5 +8,6 @@ all:
.PHONY
:
distclean
.PHONY
:
distclean
distclean
:
distclean
:
rm
*
.o
*
.so
*
.so.1
*
.a
for
v
in
$(VERSIONS)
;
do
$(MAKE)
-C
$
${v}
$@
||
exit
1
;
done
rm
-f
*
.o
*
.so
*
.so.1
*
.a
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment