Whitespace cleanup of all Makefiles*
- some of the %.clean rules in the test-suite Makefiles were using a single tab as an empty rule, dangerous! I've replaced these with the safer '@exit 0'.
This commit is contained in:
parent
7cd9063b52
commit
d5b765d388
33 changed files with 138 additions and 167 deletions
|
|
@ -28,7 +28,7 @@ LIBS = -L.
|
|||
lua_no_module_global.%: SWIGOPT += -nomoduleglobal
|
||||
|
||||
# Rules for the different types of tests
|
||||
%.cpptest:
|
||||
%.cpptest:
|
||||
$(setup)
|
||||
+$(swig_and_compile_cpp)
|
||||
$(run_testcase)
|
||||
|
|
@ -38,7 +38,7 @@ lua_no_module_global.%: SWIGOPT += -nomoduleglobal
|
|||
+$(swig_and_compile_c)
|
||||
$(run_testcase)
|
||||
|
||||
%.multicpptest:
|
||||
%.multicpptest:
|
||||
$(setup)
|
||||
+$(swig_and_compile_multi_cpp)
|
||||
$(run_testcase)
|
||||
|
|
@ -52,7 +52,7 @@ run_testcase = \
|
|||
|
||||
# Clean: (does nothing, we dont generate extra lua code)
|
||||
%.clean:
|
||||
|
||||
@exit 0
|
||||
|
||||
clean:
|
||||
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile lua_clean
|
||||
|
|
@ -60,5 +60,5 @@ clean:
|
|||
cvsignore:
|
||||
@echo '*wrap* *.so *.dll *.exp *.lib'
|
||||
@echo Makefile
|
||||
@for i in ${CPP_TEST_CASES} ${C_TEST_CASES}; do echo $$i.lua; done
|
||||
@for i in ${CPP_TEST_CASES} ${C_TEST_CASES}; do if grep -q $${i}_runme.lua CVS/Entries ; then echo $${i}_runme.lua; fi; done
|
||||
@for i in ${CPP_TEST_CASES} ${C_TEST_CASES}; do echo $$i.lua; done
|
||||
@for i in ${CPP_TEST_CASES} ${C_TEST_CASES}; do if grep -q $${i}_runme.lua CVS/Entries ; then echo $${i}_runme.lua; fi; done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue