shithub: drawterm-fdroid

ref: c6e961742048ed15b07d7a8aa78df590852cdc7f
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 $@ $<