cos2000v2/lib/makefile

17 lines
374 B
Makefile
Executable File

CC=gcc -O0 -g -nostdinc -ffreestanding -fno-builtin -fomit-frame-pointer -Wall -w -m32 -F pe-i386 -I ../include
LINK=ld -m elf_i386 -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)
$(LINK) libs.o $(OBJS)
.o: .c
$(CC) $^
clean:
rm -f *.o