# $Id$ # The System Makefile (C) 2002 The UbixOS Project # Include Global 'Source' Options include ../../../Makefile.inc include ../../Makefile.inc #Objects OBJS = arithchk.o dmisc.o dtoa.o g_Qfmt.o g__fmt.o g_ddfmt.o g_dfmt.o g_ffmt.o g_xLfmt.o g_xfmt.o gdtoa.o gethex.o gmisc.o hd_init.o hexnan.o misc.o smisc.o strtoIQ.o strtoId.o strtoIdd.o strtoIf.o strtoIg.o strtoIx.o strtoIxL.o strtod.o strtodI.o strtodg.o strtof.o strtopQ.o strtopd.o strtopdd.o strtopf.o strtopx.o strtopxL.o strtorQ.o strtord.o strtordd.o strtorf.o strtorx.o strtorxL.o sum.o ulp.o #Output OUTPUT = libc.so $(OUTPUT): $(OBJS) # Compile the source files .cc.o: $(CXX) $(CFLAGS) -Wall -nostdlib -O -I../../../include -c -o $@ $< .cc.s: $(CXX) $(CFLAGS) -Wall -nostdlib -O -I../include -S -o $@ $< .c.o: $(CC) $(CFLAGS) -Wall -nostdlib -O -I../../../include -I../i386 -c $< .c.s: $(CC) $(CFLAGS) -Wall -nostdlib -O -I../include -S -o $@ $< .S.o: $(CC) $(CFLAGS) -Wall -nostdlib -c -o $@ $< # Clean up the junk clean: $(REMOVE) $(OBJS) $(OUTPUT)