shithub: drawterm

ref: e8c4489e0da9e057997be3da11cef72ec039c9f8
dir: /gui-cocoa/Makefile/

View raw version
ROOT=..
include ../Make.config
LIB=libgui.a

OFILES=\
	screen.$O

default: $(LIB) drawterm.app/MainWindow.nib
$(LIB): $(OFILES)
	$(AR) r $(LIB) $(OFILES)
	$(RANLIB) $(LIB)

%.$O: %.m
	$(CC) $(CFLAGS) -fobjc-arc $*.m

drawterm.app/MainWindow.nib: MainWindow.xib
	ibtool --compile $@ $<