cos2000v2/lib/makefile

21 lines
348 B
Makefile
Raw Normal View History

FREEC=gcc -O2 -nostdinc -ffreestanding -fno-builtin -fomit-frame-pointer -Wall -I ../Include -c
PARTIAL=-r
2007-04-02 15:04:21 +02:00
OBJS= memory.o port.o vgatxt.o
all: makeall
makeall: $(OBJS)
(sync;ld $(PARTIAL) -o libs.o $(OBJS))
vgatxt.o:vgatxt.c
$(FREEC) $^
2007-04-02 15:04:21 +02:00
memory.o:memory.c
$(FREEC) $^
port.o:port.c
$(FREEC) $^
clean:
rm -f *.o