diff Makefile.gen @ 1682:2cfb4806cf71

Add simple and naively implemented multi-file bindiff type file analyzer utility 'fanalyze'.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 31 May 2018 15:15:50 +0300
parents 5e5f75b45f8d
children ddec147d1f90
line wrap: on
line diff
--- a/Makefile.gen	Thu May 31 13:46:23 2018 +0300
+++ b/Makefile.gen	Thu May 31 15:15:50 2018 +0300
@@ -239,7 +239,7 @@
 ### Dependancies
 ifeq ($(DM_BUILD_TOOLS),yes)
 ifeq ($(DM_USE_STDIO),yes)
-TOOL_BINARIES+= objlink data2inc gfxconv gentab
+TOOL_BINARIES+= objlink data2inc gfxconv gentab fanalyze
 ifeq ($(SUP_MODLOAD),yes)
 TOOL_BINARIES+= dumpmod mod2wav
 TESTS_BINARIES+= plrtest
@@ -485,6 +485,10 @@
 	@echo " LINK $+"
 	@$(CC) -o $@ $(filter %.o %.a,$+) $(DM_LDFLAGS) $(TOOL_LDFLAGS)
 
+$(TOOL_BINPATH)fanalyze$(EXEEXT): $(OBJPATH)fanalyze.o $(DMLIB_A)
+	@echo " LINK $+"
+	@$(CC) -o $@ $(filter %.o %.a,$+) $(DM_LDFLAGS) $(TOOL_LDFLAGS)
+
 $(TOOL_BINPATH)gfxconv$(EXEEXT): $(OBJPATH)gfxconv.o $(OBJPATH)lib64gfx.o $(OBJPATH)lib64fmts.o $(OBJPATH)libgfx.o $(DMLIB_A)
 	@echo " LINK $+"
 	@$(CC) -o $@ $(filter %.o %.a,$+) $(DM_LDFLAGS) $(TOOL_LDFLAGS) $(LIBPNG_LDFLAGS) $(ZLIB_LDFLAGS)