Browse Source

Added "make symcheck"

tags/v0.9.3
Michael Brown 20 years ago
parent
commit
2da3b7a38f
1 changed files with 9 additions and 0 deletions
  1. 9
    0
      src/Makefile.housekeeping

+ 9
- 0
src/Makefile.housekeeping View File

@@ -398,6 +398,15 @@ TAGS.$(ARCH) :
398 398
 	ctags -e -R -f $@ $(foreach ARCH,$(OTHER_ARCHS),--exclude=arch/$(ARCH))
399 399
 CLEANUP	+= TAGS*
400 400
 
401
+# Symbol table checks
402
+#
403
+SYMTAB	= $(BIN)/symtab
404
+$(SYMTAB) : $(BLIB)
405
+	$(NM) -o -g $< > $@
406
+
407
+symcheck : $(SYMTAB)
408
+	$(SYMCHECK) $<
409
+
401 410
 # Force rebuild for any given target
402 411
 #
403 412
 $(BIN)/%.rebuild :

Loading…
Cancel
Save