Check-in Number:
|
226 | |
Date: |
2000-Dec-14 15:54:00 (local)
2000-Dec-14 14:54:00 (UTC) |
User: | simons |
Branch: | |
Comment: |
Added support for C++ source modules within Petidomo. |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/petidomo/Makefile.in 1.9 -> 1.10
--- Makefile.in 2000/12/14 16:43:10 1.9
+++ Makefile.in 2000/12/15 14:54:00 1.10
@@ -3,12 +3,14 @@
#
CC = @CC@
+CXX = @CXX@
AR = ar
RANLIB = @RANLIB@
LEX = @LEX@
YACC = @YACC@
CFLAGS = @CFLAGS@
+CXXFLAGS = @CXXFLAGS@
CPPFLAGS = @CPPFLAGS@ @DEFS@
LDFLAGS = @LDFLAGS@
@@ -20,16 +22,19 @@
libconfigfile/libconfigfile.a libtext/libtext.a \
libdebug/libdebug.a
-FLAGS_TO_PASS = CC="$(CC)" AR="$(AR)" RANLIB="$(RANLIB)" LEX="$(LEX)" \
- YACC="$(YACC)" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" \
- LDFLAGS="$(LDFLAGS)"
+FLAGS_TO_PASS = CC="$(CC)" CXX="$(CXX)" AR="$(AR)" RANLIB="$(RANLIB)" LEX="$(LEX)" \
+ YACC="$(YACC)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" \
+ CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)"
.SUFFIXES:
-.SUFFIXES: .c .o
+.SUFFIXES: .c .o .cpp
.c.o:
$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
+.cpp.o:
+ $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $<
+
all: hermes listserv
petidomo: $(OBJS) $(LIBS)
|
|