diff options
author | Brendan Kehoe <brendan@zen.org> | 2006-01-13 14:43:56 +0000 |
---|---|---|
committer | Brendan Kehoe <brendan@zen.org> | 2006-01-13 14:43:56 +0000 |
commit | 2f5b580a540e0064f7555395e80e628358d8297b (patch) | |
tree | 2519480d60e2178696cf2ca36d119faa392b95de /lib/Makefile.in | |
parent | f9f1c169e7332f9f3882a1d0da68e974fb3e06ac (diff) | |
download | gperf-2f5b580a540e0064f7555395e80e628358d8297b.tar.gz |
* 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.
Diffstat (limited to 'lib/Makefile.in')
-rw-r--r-- | lib/Makefile.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Makefile.in b/lib/Makefile.in index 71005ef..8412d44 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -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 |