1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

cleanup alignment inconsistency

This commit is contained in:
Wil Moore III 2013-10-25 10:00:39 -06:00
parent 12cd20d4bd
commit c322cb23ff

View file

@ -1,6 +1,6 @@
# Binaries # Binaries
RUSTC ?= rustc RUSTC ?= rustc
RM = rm RM := rm
# Flags # Flags
RUSTCFLAGS := RUSTCFLAGS :=
@ -12,8 +12,7 @@ TESTS := cat
# Utils stuff # Utils stuff
EXES_PATHS := $(addprefix build/,$(EXES)) EXES_PATHS := $(addprefix build/,$(EXES))
command := sh -c '$(1)'
command = sh -c '$(1)'
# Main exe build rule # Main exe build rule
define EXE_BUILD define EXE_BUILD
@ -34,10 +33,10 @@ endef
all: build $(EXES_PATHS) all: build $(EXES_PATHS)
test: tmp $(addprefix test_,$(TESTS)) test: tmp $(addprefix test_,$(TESTS))
rm -rf tmp $(RM) -rf tmp
clean: clean:
rm -rf build tmp $(RM) -rf build tmp
build: build:
mkdir build mkdir build
@ -50,3 +49,4 @@ $(foreach exe,$(EXES),$(eval $(call EXE_BUILD,$(exe))))
$(foreach test,$(TESTS),$(eval $(call TEST_BUILD,$(test)))) $(foreach test,$(TESTS),$(eval $(call TEST_BUILD,$(test))))
.PHONY: all test clean .PHONY: all test clean