BGP: Use make variables instead of repeating file names
authorPhil Miller <phil@login2.surveyor.alcf.anl.gov>
Thu, 1 Apr 2010 16:30:39 +0000 (11:30 -0500)
committerPhil Miller <mille121@illinois.edu>
Thu, 1 Apr 2010 20:04:35 +0000 (15:04 -0500)
src/arch/bluegenep/Makefile.machine

index 7fecdfceefc62732ae2486117030a1861236b1a0..66ada23ac65305d60f4fd51dcd2ca9a196da9983 100644 (file)
@@ -6,7 +6,7 @@ $(L)/libtrace-controlPoints.a : trace-controlPoints-BGP.o
 
 # The BGP performance counter library UPC must be compiled with gcc:
 trace-controlPoints-BGP.o : trace-controlPoints-BGP.C converse.h
-       $(CHARMC) -c++ g++ -c trace-controlPoints-BGP.C -o trace-controlPoints-BGP.o  -I/bgsys/drivers/ppcfloor/arch/include/ $(OPTS) -no-optimize
+       $(CHARMC) -c++ g++ -c $< -o $@ -I/bgsys/drivers/ppcfloor/arch/include/ $(OPTS) -no-optimize