Newer
Older
ubixos-old / src / lib / libc / softfloat / Makefile
@reddawg reddawg on 28 Jul 2004 875 bytes movement of files
# $Id$
# The System Makefile (C) 2002 The UbixOS Project

# Include Global 'Source' Options
include ../../../Makefile.inc
include ../../Makefile.inc
include ../Makefile.inc
#Objects
OBJS = eqdf2.o eqsf2.o fpgetmask.o fpgetround.o fpgetsticky.o fpsetmask.o fpsetround.o fpsetsticky.o gedf2.o gesf2.o gtdf2.o gtsf2.o ledf2.o lesf2.o ltdf2.o ltsf2.o nedf2.o negdf2.o negsf2.o nesf2.o timesoftfloat.o unorddf2.o unordsf2.o

#Output
OUTPUT = libc.so

$(OUTPUT): $(OBJS)

# Compile the source files
.cc.o:
	$(CXX) $(CFLAGS) -Wall -nostdinc -O -I../include -c -o $@ $<
 
.cc.s:
	$(CXX) $(CFLAGS) -Wall -nostdinc -O -I../include -S -o $@ $<
 
.c.o:
	$(CC) $(CFLAGS) -Wall -nostdinc -O $(INCLUDES) -c $<

.c.s:
	$(CC) $(CFLAGS) -Wall -nostdinc -O -I../include -S -o $@ $<
 
.S.o:
	$(CC) $(CFLAGS) -Wall -nostdinc -c -o $@ $<
 
# Clean up the junk
clean:
	$(REMOVE) $(OBJS) $(OUTPUT)