# The original 3.13.10 munching rule does not really work well # This is the munch.pl taken from EPICS base 3.14.8.2 MUNCH = $(PERL) ../../config/munch.pl build:: $(LIBNAME).munch buildInstall:: $(INSTALL_BIN)/$(LIBNAME).munch %.munch: % @echo "Munching $<" $(RM) $*_ctct.o $*_ctdt.c $(NM) $< | $(MUNCH) > $*_ctdt.c $(GCC) -traditional $(CFLAGS) -fdollars-in-identifiers -c $(SOURCE_FLAG) $*_ctdt.c $(LINK.c) $@ $< $*_ctdt.o