minor change.
authorGengbin Zheng <gzheng@illinois.edu>
Thu, 19 Sep 2002 18:37:42 +0000 (18:37 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Thu, 19 Sep 2002 18:37:42 +0000 (18:37 +0000)
examples/converse/pingpong/Makefile

index f1ea0ccef1e8df039ca385b816eb2cfb7e431265..50b5c9f4ec9a3d801fffa903a9e828371353647f 100644 (file)
@@ -1,7 +1,10 @@
 CHARMC=../../../bin/charmc $(OPTS)
 
-pingpong: pingpong.C
-       $(CHARMC) -language converse++ -o pingpong pingpong.C
+pingpong: pingpong.o
+       $(CHARMC) -language converse++ -o pingpong pingpong.o
+
+pingpong.o: pingpong.C
+       $(CHARMC) -language converse++ -c pingpong.C
 
 test: pingpong
        ./charmrun pingpong +p2