about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e9dbdf7f..d0f16dfc 100644
--- a/Makefile
+++ b/Makefile
@@ -51,6 +51,12 @@ clean:
 	rm -f $(ALL_LIBS) lib/*
 	rm -f $(ALL_TOOLS)
 	rm -f $(GENH) 
+	rm -f include/bits
+
+include/bits:
+	ln -sf ../arch/$(ARCH)/bits $@
+
+include/bits/alltypes.h.sh: include/bits
 
 include/bits/alltypes.h: include/bits/alltypes.h.sh
 	sh $< > $@