Created
September 8, 2015 13:09
-
-
Save hhanesand/8b038f835a276767840b to your computer and use it in GitHub Desktop.
Create makefile
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
rm GNUmakefile | |
touch GNUmakefile | |
echo -e 'include $(GNUSTEP_MAKEFILES)/common.make' >> GNUmakefile | |
echo -e "TOOL_NAME =" $1 "\n" >> GNUmakefile | |
echo -e "$1_OBJC_FILES = "$(find -name "*.m" | xargs) >> GNUmakefile | |
echo -e "$1_HEADER_FILES = "$(find -name "*.h" | xargs)"\n" >> GNUmakefile | |
echo -e "ADDITIONAL_CPPFLAGS = -Wall -Wno-import" >> GNUmakefile | |
echo 'include $(GNUSTEP_MAKEFILES)/tool.make' >> GNUmakefile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment