X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=Makefile;h=4f93049204fbfc4581e33e61ff6ca53320a3c8e5;hb=4027f4e8f948c26be5e61c774f9f9ce9af8942b5;hp=1b9e24369028068ad33e1a57b693ef9938f12e7f;hpb=83023d1b50297cd2aa0fe4cbd2a0539462bb7c48;p=musl diff --git a/Makefile b/Makefile index 1b9e2436..4f930492 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,7 @@ SRCS = $(sort $(wildcard src/*/*.c)) OBJS = $(SRCS:.c=.o) LOBJS = $(OBJS:.o=.lo) GENH = include/bits/alltypes.h +IMPH = src/internal/stdio_impl.h src/internal/pthread_impl.h src/internal/libc.h LDFLAGS = CPPFLAGS = @@ -78,13 +79,13 @@ include/bits/alltypes.h: include/bits/alltypes.h.sh %.o: $(ARCH)/%.s $(CC) $(CFLAGS_ALL_STATIC) -c -o $@ $< -%.o: %.c $(GENH) +%.o: %.c $(GENH) $(IMPH) $(CC) $(CFLAGS_ALL_STATIC) -c -o $@ $< %.lo: $(ARCH)/%.s $(CC) $(CFLAGS_ALL_SHARED) -c -o $@ $< -%.lo: %.c $(GENH) +%.lo: %.c $(GENH) $(IMPH) $(CC) $(CFLAGS_ALL_SHARED) -c -o $@ $< lib/libc.so: $(LOBJS)