From: Alexis Laferrière Date: Wed, 26 Aug 2015 20:12:13 +0000 (-0400) Subject: contrib/objcwrapper makefile: add dependency to the bin/header_static rule X-Git-Tag: v0.7.8~61^2~5 X-Git-Url: http://nitlanguage.org contrib/objcwrapper makefile: add dependency to the bin/header_static rule Signed-off-by: Alexis Laferrière --- diff --git a/contrib/objcwrapper/Makefile b/contrib/objcwrapper/Makefile index 1f1021a..4fcfa3b 100644 --- a/contrib/objcwrapper/Makefile +++ b/contrib/objcwrapper/Makefile @@ -1,4 +1,4 @@ -all: bin/objcwrapper +all: bin/objcwrapper bin/header_static ../nitcc/src/nitcc: make -C ../nitcc @@ -23,7 +23,7 @@ check: bin/objc_test_parser bin/objcwrapper ../../bin/nitpick tests/MyClass.nit # Test on classes of libgnustep-base-dev -check-gnustep: bin/objcwrapper +check-gnustep: bin/objcwrapper bin/header_static gcc -E /usr/include/GNUstep/Foundation/NSArray.h -I /usr/include/GNUstep/ -Wno-deprecated \ | ../header_keeper/bin/header_keeper /usr/include/GNUstep/Foundation/NSArray.h \ | bin/header_static > tests/NSArray.pre.h @@ -31,7 +31,7 @@ check-gnustep: bin/objcwrapper ../../bin/nitpick tests/nsarray.nit # Test on classes of the Apple Foundation framework -check-apple: bin/objcwrapper +check-apple: bin/objcwrapper bin/header_static gcc -E /System/Library/Frameworks/Foundation.framework/Versions/C/Headers/NSArray.h \ | ../header_keeper/bin/header_keeper /System/Library/Frameworks/Foundation.framework/Versions/C/Headers/NSArray.h \ | bin/header_static > tests/NSArray.pre.h @@ -44,5 +44,5 @@ check-apple: bin/objcwrapper bin/objcwrapper tests/NSAlert.pre.h -o tests/nsalert.nit ../../bin/nitpick tests/nsalert.nit -bin/header_static: +bin/header_static: $(shell ../../bin/nitls -M src/header_static.nit) ../../bin/nitc --dir bin src/header_static.nit