summaryrefslogtreecommitdiff
path: root/libc/misc/internals/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/internals/Makefile')
-rw-r--r--libc/misc/internals/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/libc/misc/internals/Makefile b/libc/misc/internals/Makefile
index da693ce51..863d32401 100644
--- a/libc/misc/internals/Makefile
+++ b/libc/misc/internals/Makefile
@@ -24,9 +24,12 @@ TOPDIR=../../
include $(TOPDIR)Rules.mak
LIBC=$(TOPDIR)libc.a
-CSRC=ultostr.c ltostr.c ulltostr.c lltostr.c zoicheck.c
+CSRC=ultostr.c ltostr.c
ifeq ($(HAS_FLOATS),true)
- CSRC += dtostr.c
+ CSRC += dtostr.c zoicheck.c
+endif
+ifeq ($(HAS_LONG_LONG),true)
+ CSRC += ulltostr.c lltostr.c
endif
COBJS=$(patsubst %.c,%.o, $(CSRC))