cos2000v2/lib/makefile

18 lines
309 B
Makefile
Raw Normal View History

FREEC=gcc -O2 -nostdinc -ffreestanding -fno-builtin -fomit-frame-pointer -Wall -I ../Include -c
PARTIAL=-r
OBJS= string.o vgatxt.o
all: makeall
makeall: $(OBJS)
(sync;ld $(PARTIAL) -o libs.o $(OBJS))
vgatxt.o:vgatxt.c
$(FREEC) $^
string.o:string.c
$(FREEC) $^
clean:
rm -f *.o