Changeset 107


Ignore:
Timestamp:
Aug 11, 2008 4:24:23 PM (11 years ago)
Author:
bjarni
Message:

updating Makefile for CC/CFLAGS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CoinMP/examples/Makefile

    r93 r107  
    22#CoinMPDir := ..
    33
    4 
     4CC       := gcc
     5CFLAGS   := -g
    56CXX      := g++
    67CXXFLAGS := -g
     
    3132
    3233SHLINKPREFIX = -Wl,-rpath,
    33 CXXFLAGS += $(addprefix -I,${IncDir})
     34CFLAGS += $(addprefix -I,${IncDir})
    3435
    3536LDFLAGS := $(addprefix -L,$(LIBDIRS))
     
    5051
    5152example : example.cpp
    52         $(CXX) $(CXXFLAGS) $(LDFLAGS) -o example example.cpp
     53        $(CC) $(CFLAGS) $(LDFLAGS) -o example example.c
    5354
    5455clean: 
Note: See TracChangeset for help on using the changeset viewer.