build: ajout des nouveaux modules a compiler
This commit is contained in:
parent
59757b7b70
commit
759e88c118
17
lib/makefile
17
lib/makefile
|
@ -1,20 +1,25 @@
|
||||||
FREEC=gcc -O2 -nostdinc -ffreestanding -fno-builtin -fomit-frame-pointer -Wall -I ../Include -c
|
FREEC=gcc -O2 -nostdinc -ffreestanding -fno-builtin -fomit-frame-pointer -Wall -I ../Include -c
|
||||||
PARTIAL=-r
|
PARTIAL=ld -r -o
|
||||||
OBJS= memory.o port.o vgatxt.o
|
OBJS= memory.o vga.o port.o video.o
|
||||||
|
|
||||||
all: makeall
|
all: makeall
|
||||||
|
|
||||||
makeall: $(OBJS)
|
makeall: libs.o
|
||||||
(sync;ld $(PARTIAL) -o libs.o $(OBJS))
|
|
||||||
|
|
||||||
vgatxt.o:vgatxt.c
|
libs.o:$(OBJS)
|
||||||
|
$(PARTIAL) libs.o $(OBJS)
|
||||||
|
|
||||||
|
vga.o:vga.c
|
||||||
$(FREEC) $^
|
$(FREEC) $^
|
||||||
|
|
||||||
memory.o:memory.c
|
video.o:video.c
|
||||||
$(FREEC) $^
|
$(FREEC) $^
|
||||||
|
|
||||||
port.o:port.c
|
port.o:port.c
|
||||||
$(FREEC) $^
|
$(FREEC) $^
|
||||||
|
|
||||||
|
memory.o:memory.c
|
||||||
|
$(FREEC) $^
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o
|
rm -f *.o
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue