mirror of
https://github.com/0intro/conterm
synced 2024-11-29 08:53:11 +03:00
25 lines
283 B
Makefile
25 lines
283 B
Makefile
ROOT=..
|
|
include ../Make.config
|
|
LIB=../libmachdep.a
|
|
|
|
OFILES=\
|
|
getcallerpc.$O\
|
|
md5block.$O\
|
|
sha1block.$O\
|
|
|
|
default: $(LIB)
|
|
$(LIB): $(OFILES)
|
|
$(AR) r $(LIB) $(OFILES)
|
|
$(RANLIB) $(LIB)
|
|
|
|
%.$O: %.c
|
|
$(CC) $(CFLAGS) $*.c
|
|
|
|
%.$O: %.s
|
|
$(AS) -o $*.$O $*.s
|
|
|
|
%.s: %.spp
|
|
cpp $*.spp >$*.s
|
|
|
|
|