X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=Makefile;h=56bfb40d1834ca508673139c3a29cbef1aaedaed;hp=13a24e3c1e506d9f107bfa45ed7a192f74a6a0bd;hb=4fd159568aa1852fbbe6c11d35ccecaec3715d7c;hpb=7b2dd2235dd0db3a2f71e25d1c0925e0348e1996 diff --git a/Makefile b/Makefile index 13a24e3c..56bfb40d 100644 --- a/Makefile +++ b/Makefile @@ -54,6 +54,7 @@ clean: rm -f include/bits include/bits: + @test "$(ARCH)" || { echo "Please set ARCH in config.mak before running make." ; exit 1 ; } ln -sf ../arch/$(ARCH)/bits $@ include/bits/alltypes.h.sh: include/bits @@ -83,6 +84,7 @@ lib/libc.a: $(OBJS) $(RANLIB) $@ $(EMPTY_LIBS): + rm -f $@ $(AR) rc $@ lib/%.o: crt/%.o