build: ajout des nouveaux modules a compiler

This commit is contained in:
Nicolas Hordé 2007-04-02 14:14:40 +00:00
parent 0a81792b49
commit cd78773ee6
1 changed files with 6 additions and 27 deletions

View File

@ -1,37 +1,16 @@
FREEC=gcc -O2 -nostdinc -ffreestanding -fno-builtin -fomit-frame-pointer -Wall -I ../Include -c CC=gcc -nostdinc -ffreestanding -fno-builtin -fomit-frame-pointer -Wall -I ../Include
PARTIAL=ld -r -o LINK=ld -r -o
OBJS= memory.o vga.o port.o video.o idt.o timer.o keyboard.o types.o OBJS= memory.o vga.o port.o video.o mouse.o idt.o timer.o keyboard.o types.o string.o graph.o 3d.o math.o cpu.o
all: makeall all: makeall
makeall: libs.o makeall: libs.o
libs.o:$(OBJS) libs.o:$(OBJS)
$(PARTIAL) libs.o $(OBJS) $(LINK) libs.o $(OBJS)
vga.o:vga.c .o: .c
$(FREEC) $^ $(CC) $^
types.o:types.c
$(FREEC) $^
idt.o:idt.c
$(FREEC) $^
keyboard.o:keyboard.c
$(FREEC) $^
timer.o:timer.c
$(FREEC) $^
video.o:video.c
$(FREEC) $^
port.o:port.c
$(FREEC) $^
memory.o:memory.c
$(FREEC) $^
clean: clean:
rm -f *.o rm -f *.o