ref: bbe177e996faa075ea893b04f16cf341d6ea3678
parent: 0c3e3901587c2777218d5c0749db22fd5f9669b5
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Fri Oct 19 05:12:43 EDT 2018
[tests/libc] Avoid problem with parameter order cc.sh doesn't understand very well parameters when options and files are mixed. For this reason this Makefile adds a specific rule to set the correct order.
--- a/tests/libc/execute/Makefile
+++ b/tests/libc/execute/Makefile
@@ -4,6 +4,9 @@
CFLAGS =
CC = SCCPREFIX=$(ROOT) ./cc.sh
+.c:
+ $(CC) $(CFLAGS) -o $@ $<
+
all: tests
tests: