Changeset 5
- Timestamp:
- Jul 11, 2011, 5:22:07 PM (14 years ago)
- Location:
- php/trunk/unittest
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
php/trunk/unittest/makefile
r3 r5 22 22 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 23 23 24 # determine os dependent values 25 ifeq ($(OS), Windows_NT) 26 CAT=type 27 else 28 CAT=cat 29 endif 30 31 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 32 24 33 # @for i in `find . -maxdepth 1 -type d` do echo $(i) 25 34 # --- phony targets 26 35 27 .PHONY: all changedir36 .PHONY: help all changedir 28 37 38 39 ifneq ($(TESTCASE),) 29 40 all: 41 -@make -s SUBDIR=$(TESTCASE) changedir 42 else 43 44 help: 45 @$(CAT) help.txt 46 30 47 ifeq ($(OS), Windows_NT) 48 all: 31 49 -@for /d %%a in (*) do @make -s SUBDIR=%%a changedir 32 50 else 51 all: 33 52 -@for d in `find . -maxdepth 1 -type d`; do make -s SUBDIR=$$d changedir; done 53 endif 34 54 endif 35 55
Note:
See TracChangeset
for help on using the changeset viewer.