Plan 9 from Bell Labs’s /usr/web/sources/plan9/sys/src/cmd/unix/drawterm/gui-osx/Makefile
ROOT=.. include ../Make.config LIB=libgui.a OFILES=\ alloc.$O\ cload.$O\ draw.$O\ load.$O\ screen.$O default: $(LIB) $(LIB): $(OFILES) $(AR) r $(LIB) $(OFILES) $(RANLIB) $(LIB) %.$O: %.c $(CC) $(CFLAGS) $*.c