summaryrefslogtreecommitdiff
path: root/libm/ldouble/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-06-15 19:47:58 +0000
committerEric Andersen <andersen@codepoet.org>2001-06-15 19:47:58 +0000
commitec4e85f8a3471efaf67032d8b7cedc13d40b1446 (patch)
treef7a341d1870ecc5f3e3487a37fb55d9efe177c9a /libm/ldouble/Makefile
parentc1ae0ad8262ce40178a54a393bcf466b57ad5819 (diff)
Be consistant for all the client code, and use TARGET_CC with --uclibc-use-build-dir
Diffstat (limited to 'libm/ldouble/Makefile')
-rw-r--r--libm/ldouble/Makefile24
1 files changed, 12 insertions, 12 deletions
diff --git a/libm/ldouble/Makefile b/libm/ldouble/Makefile
index 04b3aacac..dad448840 100644
--- a/libm/ldouble/Makefile
+++ b/libm/ldouble/Makefile
@@ -45,7 +45,7 @@ ar-target: $(OBJS)
$(AR) $(ARFLAGS) $(LIBM) $(OBJS)
$(COBJS): %.o : %.c
- $(TARGET_CC) $(CFLAGS) -c $< -o $@
+ $(TARGET_CC) $(TARGET_CFLAGS) -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
$(OBJ): Makefile
@@ -61,20 +61,20 @@ clean:
#all: mtstl lparanoi lcalc fltestl nantst testvect monotl libml.a
mtstl: libml.a mtstl.o $(OBJS)
- $(CC) $(CFLAGS) -o mtstl mtstl.o libml.a $(LIBS)
+ $(TARGET_CC) $(TARGET_CFLAGS) -o mtstl mtstl.o libml.a $(LIBS)
mtstl.o: mtstl.c
lparanoi: libml.a lparanoi.o setprec.o ieee.o econst.o $(OBJS)
- $(CC) $(CFLAGS) -o lparanoi lparanoi.o setprec.o ieee.o econst.o libml.a $(LIBS)
+ $(TARGET_CC) $(TARGET_CFLAGS) -o lparanoi lparanoi.o setprec.o ieee.o econst.o libml.a $(LIBS)
lparanoi.o: lparanoi.c
- $(CC) $(CFLAGS) -Wno-implicit -c lparanoi.c
+ $(TARGET_CC) $(TARGET_CFLAGS) -Wno-implicit -c lparanoi.c
econst.o: econst.c ehead.h
lcalc: libml.a lcalc.o ieee.o econst.o $(OBJS)
- $(CC) $(CFLAGS) -o lcalc lcalc.o ieee.o econst.o libml.a $(LIBS)
+ $(TARGET_CC) $(TARGET_CFLAGS) -o lcalc lcalc.o ieee.o econst.o libml.a $(LIBS)
lcalc.o: lcalc.c lcalc.h ehead.h
@@ -87,31 +87,31 @@ libml.a: $(OBJS) mconf.h
fltestl: fltestl.c libml.a
- $(CC) $(CFLAGS) -o fltestl fltestl.c libml.a
+ $(TARGET_CC) $(TARGET_CFLAGS) -o fltestl fltestl.c libml.a
fltestl.o: fltestl.c
flrtstl: flrtstl.c libml.a
- $(CC) $(CFLAGS) -o flrtstl flrtstl.c libml.a
+ $(TARGET_CC) $(TARGET_CFLAGS) -o flrtstl flrtstl.c libml.a
flrtstl.o: flrtstl.c
nantst: nantst.c libml.a
- $(CC) $(CFLAGS) -o nantst nantst.c libml.a
+ $(TARGET_CC) $(TARGET_CFLAGS) -o nantst nantst.c libml.a
nantst.o: nantst.c
testvect: testvect.o libml.a
- $(CC) $(CFLAGS) -o testvect testvect.o libml.a
+ $(TARGET_CC) $(TARGET_CFLAGS) -o testvect testvect.o libml.a
testvect.o: testvect.c
- $(CC) -g -c -o testvect.o testvect.c
+ $(TARGET_CC) -g -c -o testvect.o testvect.c
monotl: monotl.o libml.a
- $(CC) $(CFLAGS) -o monotl monotl.o libml.a
+ $(TARGET_CC) $(TARGET_CFLAGS) -o monotl monotl.o libml.a
monotl.o: monotl.c
- $(CC) -g -c -o monotl.o monotl.c
+ $(TARGET_CC) -g -c -o monotl.o monotl.c
# Run test programs
check: mtstl fltestl testvect monotl libml.a