/[projet1]/public/pc/tools/rules.mk
Defence Force logotype

Diff of /public/pc/tools/rules.mk

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 874 by mmu_man, Tue Sep 25 21:57:34 2012 UTC revision 875 by mmu_man, Tue Sep 25 22:56:17 2012 UTC
# Line 2  Line 2 
2  #HOSTOS := $(shell uname -s)  #HOSTOS := $(shell uname -s)
3  #PLATFORM ?= $(HOSTOS)  #PLATFORM ?= $(HOSTOS)
4    
5    ifeq ($(RELEASE),)
6    DEBUG = 1
7    CPPFLAGS += -D_DEBUG
8    else
9    CPPFLAGS += -DNDEBUG
10    endif
11    
12  ifeq ($(PLATFORM),win32)  ifeq ($(PLATFORM),win32)
13  EXE = .exe  EXE = .exe
14  .SUFFIXES: .exe  .SUFFIXES: .exe
# Line 10  CC := $(CROSS_COMPILE)$(CC) Line 17  CC := $(CROSS_COMPILE)$(CC)
17  CXX := $(CROSS_COMPILE)$(CXX)  CXX := $(CROSS_COMPILE)$(CXX)
18  AR :=  $(CROSS_COMPILE)$(AR)  AR :=  $(CROSS_COMPILE)$(AR)
19  WINDRES := $(CROSS_COMPILE)windres  WINDRES := $(CROSS_COMPILE)windres
20    CPPFLAGS += -DWIN32
21    
22  # add default rules for exe files  # add default rules for exe files
23  %.exe: %.o  %.exe: %.o

Legend:
Removed from v.874  
changed lines
  Added in v.875

  ViewVC Help
Powered by ViewVC 1.1.26