mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
Fix build.
This commit is contained in:
parent
25297ec2b3
commit
96346761ab
4 changed files with 6 additions and 7 deletions
4
Makefile
4
Makefile
|
@ -16,7 +16,7 @@ command = sh -c '$(1)'
|
|||
|
||||
# Main exe build rule
|
||||
define EXE_BUILD
|
||||
build/$(1): $(1)/$(1).rs
|
||||
build/$(1): build $(1)/$(1).rs
|
||||
$(call command,$(RUSTC) $(RUSTCFLAGS) -o build/$(1) $(1)/$(1).rs)
|
||||
endef
|
||||
|
||||
|
@ -26,7 +26,7 @@ test_$(1): tmp/$(1)_test build/$(1)
|
|||
$(call command,tmp/$(1)_test)
|
||||
|
||||
tmp/$(1)_test: $(1)/test.rs
|
||||
$(RUSTC) $(RUSTCFLAGS) -o tmp/$(1)_test $(1)/test.rs
|
||||
$(call command,$(RUSTC) $(RUSTCFLAGS) --test -o tmp/$(1)_test $(1)/test.rs)
|
||||
endef
|
||||
|
||||
# Main rules
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue