Recognize a .cu file(for CUDA) as a normal C++ file.
authorIsaac Dooley <idooley2@illinois.edu>
Tue, 24 Apr 2007 19:13:21 +0000 (19:13 +0000)
committerIsaac Dooley <idooley2@illinois.edu>
Tue, 24 Apr 2007 19:13:21 +0000 (19:13 +0000)
src/scripts/charmc

index f1c63e738abf22d75aed86c9f481fef974d758fd..95001addf575376ea0b3c8ba6580e9821c2b89b1 100755 (executable)
@@ -1074,7 +1074,7 @@ do
                Do $CMK_GCXX -I$CHARMINC $OPTS_CPP_INTERNAL $OPTS_CPP $OPTS_CXX -c $FILE $DESTO
                NU_OBJ=$BASEO
                ;;
-       *.C|*.cc|*.cxx|*.cpp|*.c++)
+       *.C|*.cc|*.cxx|*.cpp|*.c++|*.cu)
                Do $CMK_CXX -I$CHARMINC $OPTS_CPP_INTERNAL $OPTS_CPP $OPTS_CXX -c $FILE $DESTO
                NU_OBJ=$BASEO
                ;;