* Rule for building objects in libraries.
*/
+#ifdef DEBUG_LIBS
+/* When debugging, leave symbols alone (don't do LD) */
+#define library_obj_rule() @@\
+.c.o: @@\
+ $(CC) -c $(CFLAGS) $*.c
+#else
#define library_obj_rule() @@\
.c.o: @@\
$(CC) -c $(CFLAGS) $*.c @@\
-$(LD) -x -r -o a.out $*.o @@\
$(MV) a.out $*.o
+#endif
#define library_ro_object(cfile) @@\
concat(cfile,.o): concat(cfile,.c) @@\