shithub: drawterm

ref: c6e961742048ed15b07d7a8aa78df590852cdc7f
dir: /libmemlayer/Makefile/

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

OFILES=\
	draw.$O\
	lalloc.$O\
	layerop.$O\
	ldelete.$O\
	lhide.$O\
	line.$O\
	load.$O\
	lorigin.$O\
	lsetrefresh.$O\
	ltofront.$O\
	ltorear.$O\
	unload.$O

default: $(LIB)
$(LIB): $(OFILES)
	$(AR) r $(LIB) $(OFILES)
	$(RANLIB) $(LIB)

%.$O: %.c
	$(CC) $(CFLAGS) $*.c