# $Id: Makefile,v 1.5 2002/04/20 02:59:41 reddawg Exp $ #Makefile For UbOS Kernel #Compiler GCC = gcc G++ = gcc #Linker LD = ld #Delete Program REMOVE = rm -f #Objects OBJS = memory.o paging.o ALL: $(OBJS) # Compile the source files .cc.o: $(G++) -Wall -fomit-frame-pointer -O -I../include -c -o $@ $< .cc.s: $(G++) -Wall -fomit-frame-pointer -O -I../include -S -o $@ $< .c.o: $(GCC) -Wall -fomit-frame-pointer -O -I../include -c -o $@ $< .c.s: $(GCC) -Wall -fomit-frame-pointer -O -I../include -S -o $@ $< .S.o: $(GCC) -Wall -fomit-frame-pointer -c -o $@ $< # Clean up the junk clean: $(REMOVE) $(OBJS) $(KERNEL)