shlist

share and manage lists between multiple people
Log | Files | Refs

commit 4c2427a7697d1a6d9094f4da3877060bf9d62261
parent cf24574d61770ccace37b8f3b64fc0d73d41a296
Author: Kyle Milz <kyle@getaddrinfo.net>
Date:   Fri, 12 Jun 2015 22:27:25 -0600

ios: get a proper Makefile going

Diffstat:
Mios/Makefile | 21++++++++++++++-------
1 file changed, 14 insertions(+), 7 deletions(-)

diff --git a/ios/Makefile b/ios/Makefile @@ -4,14 +4,21 @@ # for more information # -build: main.m TestLabel.m - clang -isysroot /var/sdks/Latest.sdk -c main.m - clang -isysroot /var/sdks/Latest.sdk -c TestLabel.m - clang -isysroot /var/sdks/Latest.sdk -framework Foundation \ - -framework UIKit main.o TestLabel.o -o Shist +CC=clang +CFLAGS=-isysroot /var/sdks/Latest.sdk +LDFLAGS=-framework Foundation -framework UIKit -install: build - cp Shist /Applications/Shist.app/ +OBJS=main.o TestLabel.o + +.SUFFIXES: .m .o + +Shist: $(OBJS) + $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ + +.m.o: + $(CC) $(CFLAGS) -c $< + +$(OBJS): TestLabel.h clean: rm -f *.o Shist