[cgma-dev] r1192 - cgm/trunk/cgm_apps/examples/driverc++

tautges at mcs.anl.gov tautges at mcs.anl.gov
Tue Jul 10 12:31:22 CDT 2007


Author: tautges
Date: 2007-07-10 12:31:22 -0500 (Tue, 10 Jul 2007)
New Revision: 1192

Modified:
   cgm/trunk/cgm_apps/examples/driverc++/Makefile
Log:
Changing to point to cgm.make; saving executable in 
mergechk instead of a.out.



Modified: cgm/trunk/cgm_apps/examples/driverc++/Makefile
===================================================================
--- cgm/trunk/cgm_apps/examples/driverc++/Makefile	2007-07-09 23:22:31 UTC (rev 1191)
+++ cgm/trunk/cgm_apps/examples/driverc++/Makefile	2007-07-10 17:31:22 UTC (rev 1192)
@@ -1,11 +1,11 @@
 CGM_DIR = ../../..
-include ${CGM_DIR}/config.make
+include ${CGM_DIR}/lib/cgm.make
 
 all: mergechk
 
 mergechk: mergechk.o ${CGM_LIBS_FILES}
-	$(CXX) $(LDFLAGS) mergechk.o $(CGM_LIBS_LINK)
+	$(CGM_CXX) -o mergechk $(LDFLAGS) mergechk.o $(CGM_LIBS_LINK)
 
 .cpp.o:
-	$(CXX) ${CGM_CXXFLAGS} ${CGM_INCLUDES} -c -o $@ $<
+	$(CGM_CXX) ${CGM_CXXFLAGS} ${CGM_INCLUDES} -c -o $@ $<
 




More information about the cgma-dev mailing list