aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test/os_SUITE_data/Makefile.src
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2016-09-05 17:08:40 +0200
committerLukas Larsson <[email protected]>2016-09-05 17:08:40 +0200
commitbb8d105fd6d5b09097dc64b341d63f0f8d7e8906 (patch)
treec3525db7d9b99e3048eedf3f6a16fe2cb46689e9 /lib/kernel/test/os_SUITE_data/Makefile.src
parentc26f34c7c8940de2ade904d86e581f2c7463549f (diff)
parentc0ed19c1261ee281d3c8f36ec3f28fa7328f0f39 (diff)
downloadotp-bb8d105fd6d5b09097dc64b341d63f0f8d7e8906.tar.gz
otp-bb8d105fd6d5b09097dc64b341d63f0f8d7e8906.tar.bz2
otp-bb8d105fd6d5b09097dc64b341d63f0f8d7e8906.zip
Merge branch 'lukas/kernel/os_cmd_fix_stdin_close/OTP-13867' into maint
* lukas/kernel/os_cmd_fix_stdin_close/OTP-13867: kernel: Close stdin of commands run in os:cmd
Diffstat (limited to 'lib/kernel/test/os_SUITE_data/Makefile.src')
-rw-r--r--lib/kernel/test/os_SUITE_data/Makefile.src8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/kernel/test/os_SUITE_data/Makefile.src b/lib/kernel/test/os_SUITE_data/Makefile.src
index 912d0cbcb1..f83f781411 100644
--- a/lib/kernel/test/os_SUITE_data/Makefile.src
+++ b/lib/kernel/test/os_SUITE_data/Makefile.src
@@ -3,7 +3,7 @@ LD = @LD@
CFLAGS = @CFLAGS@ -I@erl_include@ @DEFS@
CROSSLDFLAGS = @CROSSLDFLAGS@
-PROGS = my_echo@exe@
+PROGS = my_echo@exe@ my_fds@exe@
all: $(PROGS)
@@ -12,3 +12,9 @@ my_echo@exe@: my_echo@obj@
my_echo@obj@: my_echo.c
$(CC) -c -o my_echo@obj@ $(CFLAGS) my_echo.c
+
+my_fds@exe@: my_fds@obj@
+ $(LD) $(CROSSLDFLAGS) -o my_fds my_fds@obj@ @LIBS@
+
+my_fds@obj@: my_fds.c
+ $(CC) -c -o my_fds@obj@ $(CFLAGS) my_fds.c