$OpenBSD: patch-indep-utils_cmu-scen-gen_setdest_Makefile_in,v 1.1 2002/09/29 14:32:45 naddy Exp $ --- indep-utils/cmu-scen-gen/setdest/Makefile.in.orig Thu Dec 23 00:31:49 1999 +++ indep-utils/cmu-scen-gen/setdest/Makefile.in Sun Sep 29 16:17:52 2002 @@ -32,7 +32,7 @@ prefix = @prefix@ # Pathname of directory to install the binary BINDEST = @prefix@/bin -CCX = @CXX@ +CXX = @CXX@ CC = @CC@ MKDEP = ../../../conf/mkdep @@ -48,16 +48,16 @@ install: setdest calcdest $(INSTALL) -m 555 -o bin -g bin calcdest $(DESTDIR)$(BINDEST) setdest: rng.o setdest.o - $(CC) -o setdest $@.o rng.o $(DEFINE) $(LDFLAGS) $(CFLAGS) \ + $(CXX) -o setdest $@.o rng.o $(DEFINE) $(LDFLAGS) $(CFLAGS) \ $(LIBS) calcdest: rng.o calcdest.o - $(CC) -o calcdest $@.o rng.o $(DEFINE) $(LDFLAGS) $(CFLAGS) \ + $(CXX) -o calcdest $@.o rng.o $(DEFINE) $(LDFLAGS) $(CFLAGS) \ $(LIBS) rng.o: @rm -f $@ - $(CC) -c $(DEFINE) -o $@ ../../../rng.cc + $(CXX) -c $(DEFINE) -o $@ ../../../rng.cc setbox: setbox.o $(CC) -o setbox $@.o $(LDFLAGS) $(CFLAGS) $(LIBS) @@ -68,5 +68,5 @@ clean: .SUFFIXES: .cc .cc.o: - $(CCX) -c $(DEFINE) $(CFLAGS) -o $@ $*.cc + $(CXX) -c $(DEFINE) $(CFLAGS) -o $@ $*.cc