mirror of https://github.com/0intro/conterm
27 lines
319 B
Makefile
27 lines
319 B
Makefile
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
|
|
|