~mcf/drawterm

ref: d28c5f37cfbd0507796d76ced17ad01fd11ea564 drawterm/posix-riscv64/Makefile -rw-r--r-- 230 bytes
d28c5f37 add preliminary riscv64 support from archlinux (thanks Sören Tempel) 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
ROOT=..
include ../Make.config
LIB=../libmachdep.a

OFILES=\
	getcallerpc.$O\
	tas.$O

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

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

%.$O: %.s
	$(AS) -o $*.$O $*.s