1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 13:09:22 +00:00

* configure.in: Add AC_OBJEXT and AC_EXEEXT.

* lib/Makefile.in (OBJEXT): Define for subst.
	(OBJECTS): Use $(OBJEXT) instead of '.o'.
	* src/Makefile.in: Make dependencies use $(OBJEXT).
	(OBJEXT, EXEEXT): Define for subst.
	(TARGETPROG): Add $(EXEEXT).
	(OBJECTS): Use $(OBJEXT) instead of '.o'.
	(clean): Remove *.$(OBJEXT) instead of *.o.
This commit is contained in:
Brendan Kehoe
2006-01-13 14:43:56 +00:00
parent f9f1c169e7
commit 2f5b580a54
5 changed files with 246 additions and 129 deletions

View File

@@ -40,6 +40,8 @@ CPP = @CPP@
CXX = @CXX@
CXXFLAGS = @CXXFLAGS@
CXXCPP = @CXXCPP@
# Both C and C++ compiler
OBJEXT = @OBJEXT@
# Other
AR = ar
AR_FLAGS = rc
@@ -60,7 +62,7 @@ SHELL = /bin/sh
VPATH = $(srcdir)
OBJECTS = getopt.o getopt1.o getline.o hash.o
OBJECTS = getopt.$(OBJEXT) getopt1.$(OBJEXT) getline.$(OBJEXT) hash.$(OBJEXT)
CPPFLAGS = -I$(srcdir)
TARGETLIB = libgp.a