Aha! $(CXX) is the C++ compiler in make's world.
[yazpp-moved-to-github.git] / zoom / Makefile
index bdcc128..e0e01f9 100644 (file)
@@ -1,16 +1,13 @@
-# $Header: /home/cvsroot/yaz++/zoom/Attic/Makefile,v 1.1 2002-08-08 13:31:54 mike Exp $
+# $Header: /home/cvsroot/yaz++/zoom/Attic/Makefile,v 1.4 2002-08-09 09:03:37 mike Exp $
 
-CCC = g++      # ... until I figure out what the standard
-               # Make macro name is for the C++ compiler.
-CPPFLAGS := -Wall -g
+CPPFLAGS := -Wall -g -ansi
 L = libzoom.a
-OBJ = $L(zerr.o) $L(zconn.o) $L(zquery.o) $L(zrs.o) $L(zrec.o)
+OBJ = $L(zexcept.o) $L(zconn.o) $L(zquery.o) $L(zrs.o) $L(zrec.o)
 
 all: interface.h zclient
 
 zclient: zclient.o $L
-       @echo CCC = $(CCC)
-       $(CCC) $(CPPFLAGS) -o zclient zclient.o $L -lyaz
+       $(CXX) $(CPPFLAGS) -o zclient zclient.o $L -lyaz
 
 test: zclient
        ./zclient bagel.indexdata.dk 210 gils '@and mineral epicenter'