From eba74d74502641a4565dc6011db33742e8450680 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Tue, 24 Nov 2020 15:08:20 +0100 Subject: move rust "libc" to separate crate and link with that instead --- src/examples/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/examples') diff --git a/src/examples/Makefile b/src/examples/Makefile index dba72c9..dd777ae 100644 --- a/src/examples/Makefile +++ b/src/examples/Makefile @@ -3,18 +3,16 @@ SRCDIR = .. # Test programs to compile, and a list of sources for each. # To add a new test, put its name on the PROGS list # and then add a name_SRC line that lists its source files. -PROGS_C = cat cmp cp echo halt hex-dump ls mcat mcp mkdir pwd rm shell \ +PROGS = cat cmp cp echo halt hex-dump ls mcat mcp mkdir pwd rm shell \ bubsort insult lineup matmult recursor \ sumargv pfs pfs_reader pfs_writer dummy longrun \ child parent generic_parent longrun_interactive busy \ line_echo file_syscall_tests longrun_nowait shellcode \ crack overflow dir_stress create_file create_remove_file -PROGS_RUST = rust +PROGS_RS = haltrs -PROGS = $(PROGS_C) $(PROGS_RUST) - -rust_SRC = rust.c +haltrs_SRC = $(SRCDIR)/../halt-rs # Added test programs sumargv_SRC = sumargv.c -- cgit v1.2.1