title: Make compiler options
body: <p>I am running a 32 bit machine with Ubuntu 14.04. I want to execute <code>sudo make</code> to generate a C++ compiled file (gcc-4.8.4). My Makefile is</p>
  
  <p>Makefile (edited based on comments from ddumbugie):</p>
  
  <pre><code>CDefines = -DLINUXGXX
  COMPFLAGS     =   
  FlameManCC = gcc
  FlameManCCOpts = -O3
  
  OBJECTS = alligator.o
  COpts = $(COMPFLAGS) $(FlameManCCOpts) $(CDefines)
  CC = $(FlameManCC)
  alligator.o: alligator.c
      $(CC) $(COpts) -c $&lt; -o $@
  </code></pre>
  
  <p>Executing</p>
  
  <pre><code>make -n 
  </code></pre>
  
  <p>gives me</p>
  
  <pre><code>gcc  -O3 -DLINUXGXX -c alligator.c -o alligator.o
  </code></pre>
  
  <p>But </p>
  
  <pre><code>sudo make -n 
  </code></pre>
  
  <p>gives me</p>
  
  <pre><code>DLINUXGXX -c alligator.c -o alligator.o
  </code></pre>
  
  <p>Definitely command DLINUXGXX is not understood. However, I need to remain a super-user for a subsequent command executed by make. How can I resolve this?</p>