aboutsummaryrefslogtreecommitdiff
path: root/tests/test.mk
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-12-11 21:29:55 +0100
committerKarel Kočí <cynerd@email.cz>2017-12-11 21:29:55 +0100
commit4e55c50c55eb34bc771fe7fa5d18d5e8d175ead8 (patch)
tree691903ac1e684c4e6fb8687651986ab7c44dd579 /tests/test.mk
parent72900108c92488e4d1d71330e922509212c51c28 (diff)
downloadqtmips-4e55c50c55eb34bc771fe7fa5d18d5e8d175ead8.tar.gz
qtmips-4e55c50c55eb34bc771fe7fa5d18d5e8d175ead8.tar.bz2
qtmips-4e55c50c55eb34bc771fe7fa5d18d5e8d175ead8.zip
Set MIPS_PREFIX to contain tailing dash
It's common practice to have cross compilation prefix with dash as it allows you to not use any prefix at all and still have valid gcc call (although we are checking if we have it set at all but that doesn't matter for now).
Diffstat (limited to 'tests/test.mk')
-rw-r--r--tests/test.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test.mk b/tests/test.mk
index c05a72b..cc318df 100644
--- a/tests/test.mk
+++ b/tests/test.mk
@@ -27,10 +27,10 @@ $$(info $$(OBJ_$(1)))
all:: $$(O)/$(1)
$$(O)/$(1): $$(OBJ_$(1))
- $$(MIPS_PREFIX)-gcc $$(MIPS_LDFLAGS) -o $$@ $$^
+ $$(MIPS_PREFIX)gcc $$(MIPS_LDFLAGS) -o $$@ $$^
$$(OBJ_$(1)): $$(O)/%.o: %.S
- $$(MIPS_PREFIX)-gcc $$(MIPS_CFLAGS) -c -x assembler-with-cpp -o $$@ $$<
+ $$(MIPS_PREFIX)gcc $$(MIPS_CFLAGS) -c -x assembler-with-cpp -o $$@ $$<
clean::
$(RM) $$(OBJ_$(1))