# $Id: Makefile 89 2016-01-12 00:20:40Z reddawg $ # The System Makefile (C) 2002 The UbixOS Project # Include Global 'Source' Options include ../../../../Makefile.inc include ../../../Makefile.inc include ../Makefile.inc INCLUDES += -I../ -I../../include #Objects OBJS = bt_close.o bt_conv.o bt_debug.o bt_delete.o bt_get.o bt_open.o bt_overflow.o bt_page.o bt_put.o bt_search.o bt_seq.o bt_split.o bt_utils.o all: $(OBJS) # Compile the source files .cc.o: $(CXX) $(CFLAGS) -Wall -nostdlib -O $(INCLUDES) -c -o $@ $< .cc.s: $(CXX) $(CFLAGS) -Wall -nostdlib -O $(INCLUDES) -S -o $@ $< .c.o: $(CC) $(CFLAGS) -Wall -nostdlib -O $(INCLUDES) -c $< .c.s: $(CC) $(CFLAGS) -Wall -nostdlib -O $(INCLUDES) -S -o $@ $< .S.o: $(CC) $(CFLAGS) -Wall -nostdlib $(INCLUDES) -c -o $@ $< # Clean up the junk clean: $(REMOVE) $(OBJS)