mirror of
https://github.com/capstone-engine/capstone.git
synced 2025-02-08 07:08:13 +00:00
Cleanup build process (#1023)
avoiding bash subshells (which happen in for loops) because they like to selectively inherit environment variables
This commit is contained in:
parent
dcd06519e3
commit
b0733cd36c
8
Makefile
8
Makefile
@ -455,11 +455,9 @@ TESTS += test_basic.static test_detail.static test_arm.static test_arm64.static
|
||||
TESTS += test_m68k.static test_mips.static test_ppc.static test_sparc.static
|
||||
TESTS += test_systemz.static test_x86.static test_xcore.static test_m680x.static
|
||||
TESTS += test_skipdata test_skipdata.static test_iter.static
|
||||
check:
|
||||
@for t in $(TESTS); do \
|
||||
echo Check $$t ... ; \
|
||||
LD_LIBRARY_PATH=./tests ./tests/$$t > /dev/null && echo OK || echo FAILED; \
|
||||
done
|
||||
check: $(TESTS)
|
||||
test_%:
|
||||
./tests/$@ > /dev/null && echo OK || echo FAILED
|
||||
|
||||
$(OBJDIR)/%.o: %.c
|
||||
@mkdir -p $(@D)
|
||||
|
Loading…
x
Reference in New Issue
Block a user