diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/Makefile.in b/Makefile.in index 287bd8e..9d27d4a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -14,6 +14,7 @@ CFLAGS = @CFLAGS@ CFLAGS_COMPILE_ONLY = -c LDFLAGS = @LDFLAGS@ CPPFLAGS = @CPPFLAGS@ +EXEEXT = @EXEEXT@ O=o LIBS = @LIBS@ @@ -49,23 +50,23 @@ OBJ = main.${O} screen.${O} brac.${O} ch.${O} charset.${O} cmdbuf.${O} \ output.${O} position.${O} prompt.${O} search.${O} signal.${O} \ tags.${O} ttyin.${O} version.${O} @REGEX_O@ -all: less lesskey lessecho +all: less$(EXEEXT) lesskey$(EXEEXT) lessecho$(EXEEXT) -less: ${OBJ} +less$(EXEEXT): ${OBJ} ${CC} ${LDFLAGS} -o $@ ${OBJ} ${LIBS} -lesskey: lesskey.${O} version.${O} +lesskey$(EXEEXT): lesskey.${O} version.${O} ${CC} ${LDFLAGS} -o $@ lesskey.${O} version.${O} -lessecho: lessecho.${O} version.${O} +lessecho$(EXEEXT): lessecho.${O} version.${O} ${CC} ${LDFLAGS} -o $@ lessecho.${O} version.${O} ${OBJ}: ${srcdir}/less.h ${srcdir}/funcs.h defines.h install: all ${srcdir}/less.nro ${srcdir}/lesskey.nro ${srcdir}/lessecho.nro installdirs - ${INSTALL_PROGRAM} less ${DESTDIR}${bindir}/${binprefix}less - ${INSTALL_PROGRAM} lesskey ${DESTDIR}${bindir}/${binprefix}lesskey - ${INSTALL_PROGRAM} lessecho ${DESTDIR}${bindir}/${binprefix}lessecho + ${INSTALL_PROGRAM} less$(EXEEXT) ${DESTDIR}${bindir}/${binprefix}less$(EXEEXT) + ${INSTALL_PROGRAM} lesskey$(EXEEXT) ${DESTDIR}${bindir}/${binprefix}lesskey$(EXEEXT) + ${INSTALL_PROGRAM} lessecho$(EXEEXT) ${DESTDIR}${bindir}/${binprefix}lessecho$(EXEEXT) ${INSTALL_DATA} ${srcdir}/less.nro ${DESTDIR}${mandir}/man${manext}/${manprefix}less.${manext} ${INSTALL_DATA} ${srcdir}/lesskey.nro ${DESTDIR}${mandir}/man${manext}/${manprefix}lesskey.${manext} ${INSTALL_DATA} ${srcdir}/lessecho.nro ${DESTDIR}${mandir}/man${manext}/${manprefix}lessecho.${manext} @@ -77,9 +78,9 @@ installdirs: mkinstalldirs ${srcdir}/mkinstalldirs ${DESTDIR}${bindir} ${DESTDIR}${mandir}/man${manext} uninstall: - rm -f ${DESTDIR}${bindir}/${binprefix}less - rm -f ${DESTDIR}${bindir}/${binprefix}lesskey - rm -f ${DESTDIR}${bindir}/${binprefix}lessecho + rm -f ${DESTDIR}${bindir}/${binprefix}less$(EXEEXT) + rm -f ${DESTDIR}${bindir}/${binprefix}lesskey$(EXEEXT) + rm -f ${DESTDIR}${bindir}/${binprefix}lessecho$(EXEEXT) rm -f ${DESTDIR}${mandir}/man${manext}/${manprefix}less.${manext} rm -f ${DESTDIR}${mandir}/man${manext}/${manprefix}lesskey.${manext} rm -f ${DESTDIR}${mandir}/man${manext}/${manprefix}lessecho.${manext} @@ -108,7 +109,7 @@ ${srcdir}/configure: ${srcdir}/configure.ac cd ${srcdir}; autoheader; autoconf clean: - rm -f *.${O} core less lesskey lessecho + rm -f *.${O} core less$(EXEEXT) lesskey$(EXEEXT) lessecho$(EXEEXT) mostlyclean: clean |