From 72cece4be408586f60f637e7a51ada39c6389713 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Wed, 26 Aug 2015 16:12:13 -0400 Subject: [PATCH] contrib/objcwrapper makefile: add dependency to the bin/header_static rule MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- contrib/objcwrapper/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 1.7.9.5