From: Alexis Laferrière Date: Tue, 25 Aug 2015 18:59:57 +0000 (-0400) Subject: contrib/objcwrapper makefile: use -o and nitls in the check rules X-Git-Tag: v0.7.8~61^2~7 X-Git-Url: http://nitlanguage.org contrib/objcwrapper makefile: use -o and nitls in the check rules Signed-off-by: Alexis Laferrière --- diff --git a/contrib/objcwrapper/.gitignore b/contrib/objcwrapper/.gitignore index 0d0b14f..36673f1 100644 --- a/contrib/objcwrapper/.gitignore +++ b/contrib/objcwrapper/.gitignore @@ -2,4 +2,6 @@ src/objc_lexer.nit src/objc_parser.nit src/objc_test_parser.nit tests/MyClass.nit +tests/nsarray.nit +tests/nsalert.nit objc.ast.dot diff --git a/contrib/objcwrapper/Makefile b/contrib/objcwrapper/Makefile index 3f39029..34257ab 100644 --- a/contrib/objcwrapper/Makefile +++ b/contrib/objcwrapper/Makefile @@ -23,20 +23,20 @@ check: bin/objc_test_parser bin/objcwrapper ../../bin/nitpick tests/MyClass.nit # Test on classes of libgnustep-base-dev -check-gnustep: +check-gnustep: bin/objcwrapper 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 - bin/objcwrapper tests/NSArray.pre.h - ../../bin/nitpick NSArray.nit + bin/objcwrapper tests/NSArray.pre.h -o tests/nsarray.nit + ../../bin/nitpick tests/nsarray.nit # Test on classes of the Apple Foundation framework -check-apple: +check-apple: bin/objcwrapper 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 - bin/objcwrapper tests/NSArray.pre.h - ../../bin/nitpick NSArray.nit + bin/objcwrapper tests/NSArray.pre.h -o tests/nsarray.nit + ../../bin/nitpick tests/nsarray.nit bin/header_static: ../../bin/nitc --dir bin src/header_static.nit