mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
Fix build issue because of make.
This commit is contained in:
parent
96346761ab
commit
ed8bc6b7bc
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -16,13 +16,13 @@ command = sh -c '$(1)'
|
||||||
|
|
||||||
# Main exe build rule
|
# Main exe build rule
|
||||||
define EXE_BUILD
|
define EXE_BUILD
|
||||||
build/$(1): build $(1)/$(1).rs
|
build/$(1): $(1)/$(1).rs
|
||||||
$(call command,$(RUSTC) $(RUSTCFLAGS) -o build/$(1) $(1)/$(1).rs)
|
$(call command,$(RUSTC) $(RUSTCFLAGS) -o build/$(1) $(1)/$(1).rs)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# Test exe built rules
|
# Test exe built rules
|
||||||
define TEST_BUILD
|
define TEST_BUILD
|
||||||
test_$(1): tmp/$(1)_test build/$(1)
|
test_$(1): tmp/$(1)_test build build/$(1)
|
||||||
$(call command,tmp/$(1)_test)
|
$(call command,tmp/$(1)_test)
|
||||||
|
|
||||||
tmp/$(1)_test: $(1)/test.rs
|
tmp/$(1)_test: $(1)/test.rs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue