Created
March 14, 2016 00:50
-
-
Save Wevah/5946a10e1a536c2294bc to your computer and use it in GitHub Desktop.
Simple makefile for compiling single-file Cocoa test binaries.
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
# Toss in a directory | |
# Usage: make <binname> | |
# Compiles <binname>.m to <binname> | |
%: %.m | |
rm -f $@ | |
$(CC) $(CPPFLAGS) $(CFLAGS) -Wall -fobjc-arc -fmodules $^ -o $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment