Makefile 976 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. DIRS = headers error getent malloc-simple misc regex stdio2 \
  2. string sysdeps termios time #rpc
  3. all: libc.a
  4. libc.a: $(DIRS) dummy
  5. @echo
  6. @echo Finally finished compiling...
  7. @echo
  8. $(CROSS)ranlib $@
  9. headers: dummy
  10. if [ ! -L "include/asm" ]; then ln -s /usr/src/linux/include/asm include/asm ; fi
  11. if [ ! -L "include/net" ]; then ln -s /usr/src/linux/include/net include/net ; fi
  12. if [ ! -L "include/linux" ]; then ln -s /usr/src/linux/include/linux include/linux ; fi
  13. error: dummy
  14. make -C error
  15. getent: dummy
  16. make -C getent
  17. malloc-simple: dummy
  18. make -C malloc-simple
  19. misc: dummy
  20. make -C misc
  21. net: dummy
  22. make -C net
  23. regex: dummy
  24. make -C regex
  25. rpc: dummy
  26. make -C rpc
  27. stdio2: dummy
  28. make -C stdio2
  29. string: dummy
  30. make -C string
  31. sysdeps: dummy
  32. make -C sysdeps
  33. termios: dummy
  34. make -C termios
  35. time: dummy
  36. make -C time
  37. tags:
  38. ctags -R
  39. dummy:
  40. clean:
  41. -rm -f `find -name \*.[oa]` `find -name \*~` core
  42. -rm -rf include/asm include/net include/linux