Permalink
Browse files

ide/Project: Fixed bad ifeq "PLATFORM" which should have read ifeq "$…

…(PLATFORM)"
  • Loading branch information...
1 parent 12efc10 commit 17415eff4bf5daff6a2d0d695874de5f86896ccf @jerstlouis jerstlouis committed Aug 27, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 ide/src/project/Project.ec
View
6 ide/src/project/Project.ec
@@ -1991,12 +1991,12 @@ private:
f.Printf("UPXFLAGS = -9\n\n"); // TOFEAT: Compression Level Option? Other UPX Options?
f.Printf("# HARD CODED PLATFORM-SPECIFIC OPTIONS\n");
- f.Printf("ifeq \"PLATFORM\" \"linux\"\n"); //, PlatformToMakefileVariable(tux));
+ f.Printf("ifeq \"$(PLATFORM)\" \"linux\"\n"); //, PlatformToMakefileVariable(tux));
f.Printf("OFLAGS += -Wl,--no-undefined\n");
f.Printf("endif\n\n");
// JF's
- f.Printf("ifeq \"PLATFORM\" \"apple\"\n"); //%s\n", PlatformToMakefileVariable(apple));
+ f.Printf("ifeq \"$(PLATFORM)\" \"apple\"\n"); //%s\n", PlatformToMakefileVariable(apple));
f.Printf("OFLAGS += -framework cocoa -framework OpenGL\n");
f.Printf("endif\n");
@@ -2166,7 +2166,7 @@ private:
if(ifCount)
f.Printf("else\n");
ifCount++;
- f.Printf("ifeq \"PLATFORM\" \"%s\"\n", (char *)platform); //%s\n", PlatformToMakefileVariable(platform));
+ f.Printf("ifeq \"$(PLATFORM)\" \"%s\"\n", (char *)platform); //%s\n", PlatformToMakefileVariable(platform));
f.Printf("TARGET_TYPE = ");
f.Printf(TargetTypeToMakefileVariable(targetType));

0 comments on commit 17415ef

Please sign in to comment.