# (C) 2002 The UbixOS Project # $Id: Makefile,v 1.6 2003/04/20 12:11:30 reddawg Exp $ # Compiler CC = gcc CPP = g++ # Linker LINKER = ld CFLAGS = -fno-builtin # Remove REMOVE = rm -fr # Objects OBJS = pagefault.o getfreepage.o remappage.o getfreekernelpage.o getfreevirtualpage.o setpageattributes.o copyvirtualspace.o createvirtualspace.o unmappage.o freepage.o getphysicaladdr.o doublefault.o clearvirtualpage.o memory.o paging.o all: $(OBJS) # Compile Types .cc.o: $(CPP) ${CFLAGS} -Wall -fomit-frame-pointer -O -I../include -c -o $@ $< .cc.s: $(CPP) ${CFLAGS} -Wall -fomit-frame-pointer -O -I../include -S -o $@ $< .c.o: $(CC) ${CFLAGS} -Wall -fomit-frame-pointer -O -I../include -c -o $@ $< .c.s: $(CC) ${CFLAGS} -Wall -fomit-frame-pointer -O -I../include -S -o $@ $< .S.o: $(CC) ${CFLAGS} -Wall -fomit-frame-pointer -c -o $@ $< # Clean up the junk clean: $(REMOVE) $(OBJS)