Created
December 14, 2012 15:16
-
-
Save semihozkoroglu/4286187 to your computer and use it in GitHub Desktop.
Objective-C derleme amaçlı
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [ $# = 0 ]; then | |
echo "Kullanimi: ./derle <derlenecek isim> <dosya ismi>" | |
exit 0 | |
fi | |
gcc `gnustep-config --objc-flags` -o $1 $2 -L /GNUstep/System/Library/Libraries -lobjc -lgnustep-base | |
if [ $? = 0 ]; then | |
rm -rf *.d | |
echo "OK." | |
else | |
echo "Derleme Hatali." | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment