build: ajout des nouveaux modules a compiler

This commit is contained in:
Nicolas Hordé 2007-04-02 13:21:56 +00:00
parent 59757b7b70
commit 759e88c118
1 changed files with 13 additions and 8 deletions

View File

@ -1,20 +1,25 @@
FREEC=gcc -O2 -nostdinc -ffreestanding -fno-builtin -fomit-frame-pointer -Wall -I ../Include -c
PARTIAL=-r
OBJS= memory.o port.o vgatxt.o
PARTIAL=ld -r -o
OBJS= memory.o vga.o port.o video.o
all: makeall
makeall: $(OBJS)
(sync;ld $(PARTIAL) -o libs.o $(OBJS))
makeall: libs.o
vgatxt.o:vgatxt.c
libs.o:$(OBJS)
$(PARTIAL) libs.o $(OBJS)
vga.o:vga.c
$(FREEC) $^
memory.o:memory.c
video.o:video.c
$(FREEC) $^
port.o:port.c
$(FREEC) $^
memory.o:memory.c
$(FREEC) $^
clean:
rm -f *.o