diff options
Diffstat (limited to 'libc/misc')
-rw-r--r-- | libc/misc/assert/Makefile | 4 | ||||
-rw-r--r-- | libc/misc/ctype/Makefile | 1 | ||||
-rw-r--r-- | libc/misc/fnmatch/Makefile | 4 | ||||
-rw-r--r-- | libc/misc/glob/Makefile | 4 | ||||
-rw-r--r-- | libc/misc/internals/Makefile | 4 | ||||
-rw-r--r-- | libc/misc/lsearch/Makefile | 4 | ||||
-rw-r--r-- | libc/misc/regex/Makefile | 4 | ||||
-rw-r--r-- | libc/misc/time/Makefile | 4 |
8 files changed, 22 insertions, 7 deletions
diff --git a/libc/misc/assert/Makefile b/libc/misc/assert/Makefile index 68cbaec82..75f613b7e 100644 --- a/libc/misc/assert/Makefile +++ b/libc/misc/assert/Makefile @@ -35,7 +35,9 @@ $(LIBC): ar-target ar-target: $(OBJS) $(AR) $(ARFLAGS) $(LIBC) $(OBJS) -$(OBJS): Makefile +$(COBJS): + $(CC) $(CFLAGS) $< -c $*.c -o $*.o + $(STRIPTOOL) -x -R .note -R .comment $*.o clean: rm -f *.[oa] *~ core diff --git a/libc/misc/ctype/Makefile b/libc/misc/ctype/Makefile index 128881f28..c77d49f69 100644 --- a/libc/misc/ctype/Makefile +++ b/libc/misc/ctype/Makefile @@ -38,6 +38,7 @@ ar-target: $(OBJS) $(MOBJ): $(MSRC) $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o + $(STRIPTOOL) -x -R .note -R .comment $*.o $(OBJS): Makefile diff --git a/libc/misc/fnmatch/Makefile b/libc/misc/fnmatch/Makefile index 3ee0d1d02..1554d7c00 100644 --- a/libc/misc/fnmatch/Makefile +++ b/libc/misc/fnmatch/Makefile @@ -35,7 +35,9 @@ $(LIBC): ar-target ar-target: $(OBJS) $(AR) $(ARFLAGS) $(LIBC) $(OBJS) -$(OBJS): Makefile +$(COBJS): + $(CC) $(CFLAGS) $< -c $*.c -o $*.o + $(STRIPTOOL) -x -R .note -R .comment $*.o clean: rm -f *.[oa] *~ core diff --git a/libc/misc/glob/Makefile b/libc/misc/glob/Makefile index 83f9383c6..864eff110 100644 --- a/libc/misc/glob/Makefile +++ b/libc/misc/glob/Makefile @@ -35,7 +35,9 @@ $(LIBC): ar-target ar-target: $(OBJS) $(AR) $(ARFLAGS) $(LIBC) $(OBJS) -$(OBJS): Makefile +$(COBJS): + $(CC) $(CFLAGS) $< -c $*.c -o $*.o + $(STRIPTOOL) -x -R .note -R .comment $*.o clean: rm -f *.[oa] *~ core diff --git a/libc/misc/internals/Makefile b/libc/misc/internals/Makefile index 3bddcfdc1..a09395962 100644 --- a/libc/misc/internals/Makefile +++ b/libc/misc/internals/Makefile @@ -35,7 +35,9 @@ $(LIBC): ar-target ar-target: $(OBJS) $(AR) $(ARFLAGS) $(LIBC) $(OBJS) -$(OBJS): Makefile +$(COBJS): + $(CC) $(CFLAGS) $< -c $*.c -o $*.o + $(STRIPTOOL) -x -R .note -R .comment $*.o clean: rm -f *.[oa] *~ core diff --git a/libc/misc/lsearch/Makefile b/libc/misc/lsearch/Makefile index 5a0fb60a6..8e8fc690a 100644 --- a/libc/misc/lsearch/Makefile +++ b/libc/misc/lsearch/Makefile @@ -35,7 +35,9 @@ $(LIBC): ar-target ar-target: $(OBJS) $(AR) $(ARFLAGS) $(LIBC) $(OBJS) -$(OBJS): Makefile +$(COBJS): + $(CC) $(CFLAGS) $< -c $*.c -o $*.o + $(STRIPTOOL) -x -R .note -R .comment $*.o clean: rm -f *.[oa] *~ core diff --git a/libc/misc/regex/Makefile b/libc/misc/regex/Makefile index 8480c650e..c4c13f6cf 100644 --- a/libc/misc/regex/Makefile +++ b/libc/misc/regex/Makefile @@ -35,7 +35,9 @@ $(LIBC): ar-target ar-target: $(OBJS) $(AR) $(ARFLAGS) $(LIBC) $(OBJS) -$(OBJS): Makefile +$(COBJS): + $(CC) $(CFLAGS) $< -c $*.c -o $*.o + $(STRIPTOOL) -x -R .note -R .comment $*.o clean: rm -f *.[oa] *~ core diff --git a/libc/misc/time/Makefile b/libc/misc/time/Makefile index aac0d7762..ec8199c69 100644 --- a/libc/misc/time/Makefile +++ b/libc/misc/time/Makefile @@ -36,7 +36,9 @@ $(LIBC): ar-target ar-target: $(OBJS) $(AR) $(ARFLAGS) $(LIBC) $(OBJS) -$(OBJS): Makefile +$(COBJS): + $(CC) $(CFLAGS) $< -c $*.c -o $*.o + $(STRIPTOOL) -x -R .note -R .comment $*.o clean: rm -f *.[oa] *~ core |