+
+check: bin/objc_test_parser bin/objcwrapper
+ # Test the parser
+ bin/objc_test_parser tests/MyClass.h
+
+ # Test objcwrapper
+ bin/objcwrapper tests/MyClass.h -o tests/MyClass.nit
+ ../../bin/nitpick tests/MyClass.nit
+
+# Test on classes of libgnustep-base-dev
+check-gnustep: bin/objcwrapper
+ bin/objcwrapper /usr/include/GNUstep/Foundation/*.h -o tests/gnustep.nit -p "-I /usr/include/GNUstep/ -Wno-deprecated -Wno-cpp"
+ ../../bin/nitpick tests/nsarray.nit
+
+# Test on classes of the Apple Foundation framework
+check-apple: bin/objcwrapper
+ bin/objcwrapper /System/Library/Frameworks/Foundation.framework/Versions/C/Headers/NSArray.h -o tests/nsarray.nit
+ ../../bin/nitpick tests/nsarray.nit
+
+ bin/objcwrapper /System/Library/Frameworks/AppKit.framework/Headers/NSAlert.h -o tests/nsalert.nit
+ ../../bin/nitpick tests/nsalert.nit
+
+bin/header_static: $(shell ../../bin/nitls -M src/header_static.nit)
+ ../../bin/nitc --dir bin src/header_static.nit