From cd78773ee6179a2f20e21a3cbe8338b857496fd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Hord=C3=A9?= Date: Mon, 2 Apr 2007 14:14:40 +0000 Subject: [PATCH] build: ajout des nouveaux modules a compiler --- lib/makefile | 33 ++++++--------------------------- 1 file changed, 6 insertions(+), 27 deletions(-) diff --git a/lib/makefile b/lib/makefile index 393d055..35ce987 100644 --- a/lib/makefile +++ b/lib/makefile @@ -1,37 +1,16 @@ -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 idt.o timer.o keyboard.o types.o +CC=gcc -nostdinc -ffreestanding -fno-builtin -fomit-frame-pointer -Wall -I ../Include +LINK=ld -r -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 makeall: libs.o libs.o:$(OBJS) - $(PARTIAL) libs.o $(OBJS) + $(LINK) libs.o $(OBJS) -vga.o:vga.c - $(FREEC) $^ - -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) $^ +.o: .c + $(CC) $^ clean: rm -f *.o