lnav/tools/Makefile.am
2023-07-10 23:42:45 -07:00

22 lines
403 B
Makefile

all-local: bin2c$(BUILD_EXEEXT)
if CROSS_COMPILING
bin2c$(BUILD_EXEEXT): bin2c.c
$(AM_V_CC) $(CC_FOR_BUILD) $(CPPFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -g3 -o $@ $? -lz -fPIC
else
bin2c: bin2c.c
$(AM_V_CC) $(CC) $(CPPFLAGS) $(LDFLAGS) -g3 -o $@ $? -lz -fPIC
endif
EXTRA_DIST = \
bin2c.c
CLEANFILES = \
bin2c$(BUILD_EXEEXT)
dist-hook: bin2c$(BUILD_EXEEXT)
distclean-local:
$(RM_V)rm -rf *.dSYM