summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d1e9e56)
debugging symbols are not removed from libraries.
Author: jtkohl
Auditor: qjb
* Rule for building objects in libraries.
*/
* 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
#define library_obj_rule() @@\
.c.o: @@\
$(CC) -c $(CFLAGS) $*.c @@\
-$(LD) -x -r -o a.out $*.o @@\
$(MV) a.out $*.o
#define library_ro_object(cfile) @@\
concat(cfile,.o): concat(cfile,.c) @@\
#define library_ro_object(cfile) @@\
concat(cfile,.o): concat(cfile,.c) @@\