summaryrefslogblamecommitdiffstats
path: root/yotlibc/Makefile
blob: 90189f9d3d16453cf6b7bdcffd211e9c5e296704 (plain) (tree)
1
2
3
4
5



                    
                                                                           












                                 

.PHONY: all clean
.SUFFIXES: .c.o .s.o

OBJ=bccfunc.o str_out.o char_in.o str_in.o char_vga.o char_vhl.o strbasic.o

all: yotlibc.a

yotlibc.a: $(OBJ)
    ar86 rc $@ $(OBJ)

.s.o:
    nasm -f as86 $< -o $@
.c.o:
    bcc -ansi -Mc -c $< -o $@

clean:
    rm -f yotlibc.a $(OBJ)