Changeset 32 for Make/Makedefs


Ignore:
Timestamp:
04/10/2007 11:05:42 PM (12 years ago)
Author:
art
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Make/Makedefs

    r13 r32  
     1#----------------------------------------------- 
     2# Find out the platform 
     3#----------------------------------------------- 
     4SHELL = /bin/sh 
     5OS := $(shell uname) 
     6 
     7## IRIX ? 
     8ifeq ($(findstring IRIX,$(OS)),IRIX) 
     9OS := IRIX 
     10endif 
     11 
     12## Make CYGWIN_XXXX CYGWIN so it's "Windows cross platform" :) 
     13ifeq ($(findstring CYGWIN,$(OS)),CYGWIN) 
     14OS := CYGWIN 
     15endif 
     16 
     17## Make MINGW_XXXX MINGW so it's "Windows cross platform" :) 
     18ifeq ($(findstring MINGW,$(OS)),MINGW) 
     19OS := MINGW 
     20endif 
     21 
    122#----------------------------------------------- 
    223# Paths where to find includes and libraries 
     
    2344# Define macros with compiler options 
    2445#----------------------------------------------- 
    25 SHELL = /bin/sh 
    2646CC = g++ 
    27 CFLAGS =-O2 -Wall -Werror $(INCPATH) 
     47CFLAGS = -pthread -O2 -Wall -Werror $(INCPATH) 
    2848LIBS =  
    2949LDFLAGS = -shared $(LIBPATH) $(LIBS) 
Note: See TracChangeset for help on using the changeset viewer.