# $Id: Makefile,v 1.5 2002/04/30 00:02:31 reddawg Exp $ #Makefile For UbOS Drivers #Compiler GCC = gcc G++ = gcc #Linker LD = ld #Delete Program REMOVE = rm -f #Objects OBJS = fdc.o ide.o #640x480.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)