cos2000v2/lib/makefile

26 lines
387 B
Makefile
Raw Normal View History

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