summaryrefslogtreecommitdiff
path: root/libm/double/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/double/Makefile
parentc1ae0ad8262ce40178a54a393bcf466b57ad5819 (diff)
Be consistant for all the client code, and use TARGET_CC with --uclibc-use-build-dir
Diffstat (limited to 'libm/double/Makefile')
-rw-r--r--libm/double/Makefile24
1 files changed, 12 insertions, 12 deletions
diff --git a/libm/double/Makefile b/libm/double/Makefile
index 6133ef199..a53b44d2e 100644
--- a/libm/double/Makefile
+++ b/libm/double/Makefile
@@ -50,7 +50,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
@@ -65,37 +65,37 @@ clean:
#all: libmd.a mtst dtestvec monot dcalc paranoia
time-it: time-it.o
- $(CC) -o time-it time-it.o
+ $(TARGET_CC) -o time-it time-it.o
time-it.o: time-it.c
- $(CC) -O2 -c time-it.c
+ $(TARGET_CC) -O2 -c time-it.c
dcalc: dcalc.o libmd.a
- $(CC) -o dcalc dcalc.o libmd.a
+ $(TARGET_CC) -o dcalc dcalc.o libmd.a
mtst: mtst.o libmd.a
- $(CC) -v -o mtst mtst.o libmd.a
+ $(TARGET_CC) -v -o mtst mtst.o libmd.a
mtst.o: mtst.c
- $(CC) -O2 -Wall -c mtst.c
+ $(TARGET_CC) -O2 -Wall -c mtst.c
dtestvec: dtestvec.o libmd.a
- $(CC) -o dtestvec dtestvec.o libmd.a
+ $(TARGET_CC) -o dtestvec dtestvec.o libmd.a
dtestvec.o: dtestvec.c
- $(CC) -g -c dtestvec.c
+ $(TARGET_CC) -g -c dtestvec.c
monot: monot.o libmd.a
- $(CC) -o monot monot.o libmd.a
+ $(TARGET_CC) -o monot monot.o libmd.a
monot.o: monot.c
- $(CC) -g -c monot.c
+ $(TARGET_CC) -g -c monot.c
paranoia: paranoia.o setprec.o libmd.a
- $(CC) -o paranoia paranoia.o setprec.o libmd.a
+ $(TARGET_CC) -o paranoia paranoia.o setprec.o libmd.a
paranoia.o: paranoia.c
- $(CC) $(CFLAGS) -Wno-implicit -c paranoia.c
+ $(TARGET_CC) $(TARGET_CFLAGS) -Wno-implicit -c paranoia.c
libmd.a: $(OBJS) $(INCS)
$(AR) rv libmd.a $(OBJS)