This one should be able to deal with the USAGE macros a little
[oweals/busybox.git] / applets.h
index eaa818df7a9e7a9b9962eaa3da8999b7c84a1321..dbb234963a21a95ceec3d8a4e711b3e4d3ab4e75 100644 (file)
--- a/applets.h
+++ b/applets.h
     #define APPLET_NOUSAGE(a,b,c) "\0"
     #define APPLET_ODDNAME(a,b,c,d) d##_trivial_usage "\n\n" d##_full_usage "\0"
   #endif
+#elif defined(MAKE_LINKS)
+#  define APPLET(a,b,c) LINK c a
+#  define APPLET_NOUSAGE(a,b,c) LINK c a
+#  define APPLET_ODDNAME(a,b,c,d) LINK c a
 #else
   const struct BB_applet applets[] = {
   #define APPLET(a,b,c) {#a,b,c},