Skip to content

Commit 8cc67dd

Browse files
committed
Fix generation of GNUmakefile CPP/CC section
1 parent 449d59f commit 8cc67dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Generators/Makefile/GSXCMakefileGenerator.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ - (BOOL) generate
6666
makefileString = [makefileString stringByAppendingString:
6767
[NSString stringWithFormat: @"%@_C_FILES = %@\n\n", appName, [self objectForString: cFilesString]]];
6868
makefileString = [makefileString stringByAppendingString:
69-
[NSString stringWithFormat: @"%@_CPP_FILES = %@\n\n", appName, [self objectForString: cppFilesString]]];
69+
[NSString stringWithFormat: @"%@_CC_FILES = %@\n\n", appName, [self objectForString: cppFilesString]]];
7070
makefileString = [makefileString stringByAppendingString:
71-
[NSString stringWithFormat: @"%@_OBJCPP_FILES = %@\n\n", appName, [self objectForString: objCPPFilesString]]];
71+
[NSString stringWithFormat: @"%@_OBJCC_FILES = %@\n\n", appName, [self objectForString: objCPPFilesString]]];
7272
makefileString = [makefileString stringByAppendingString:
7373
[NSString stringWithFormat: @"%@_HEADER_FILES = %@\n\n", appName, [self objectForString: headerFilesString]]];
7474
makefileString = [makefileString stringByAppendingString:

0 commit comments

Comments
 (0)