Chain build commands using && instead of ;
This makes sure the build aborts as soon as possible if there is an error, instead of having the error message drown in all the following output.
This commit is contained in:
parent
34782a84b1
commit
4d31f66873
@ -41,7 +41,7 @@ LDFLAGS += --sysroot=$(SYSROOT) -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,rel
|
||||
binaries : decdemo encdemo
|
||||
|
||||
decdemo: libraries
|
||||
sh -c 'cd ./codec/build/android/dec/jni; $(NDKROOT)/ndk-build -B APP_ABI=$(APP_ABI); cd ..; android update project -t $(TARGET) -p . ; ant debug; cd ../../../..'
|
||||
sh -c 'cd ./codec/build/android/dec/jni && $(NDKROOT)/ndk-build -B APP_ABI=$(APP_ABI) && cd .. && android update project -t $(TARGET) -p . && ant debug && cd ../../../..'
|
||||
|
||||
encdemo: libraries
|
||||
sh -c 'cd ./codec/build/android/enc/jni; $(NDKROOT)/ndk-build -B APP_ABI=$(APP_ABI); cd ..; android update project -t $(TARGET) -p . ; ant debug; cd ../../../..'
|
||||
sh -c 'cd ./codec/build/android/enc/jni && $(NDKROOT)/ndk-build -B APP_ABI=$(APP_ABI) && cd .. && android update project -t $(TARGET) -p . && ant debug && cd ../../../..'
|
||||
|
Loading…
x
Reference in New Issue
Block a user