/[projet1]/public/pc/tools/osdk/main/header/Makefile
Defence Force logotype

Diff of /public/pc/tools/osdk/main/header/Makefile

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

revision 1213 by Jylam, Tue May 6 21:15:53 2014 UTC revision 1214 by mmu_man, Sun Sep 28 18:48:19 2014 UTC
# Line 1  Line 1 
1  CC=g++  include ../../../rules.mk
2  CFLAGS=-c -Wall -Iincludes -I../common/includes/ -std=c++11  
3  LDFLAGS=-L../common/ -lcommon ../common/common.o ../common/lz_pack.o -lcurses  CPPFLAGS += -Wall -Iincludes
4    
5    CPPFLAGS += -I ../common/includes
6    LDLIBS += -L ../common -lcommon $(COMMON_EXTRA_LDFLAGS)
7    
8  SOURCES=sources/header.cpp  SOURCES=sources/header.cpp
9    
10  OBJECTS=$(SOURCES:.cpp=.o)  OBJECTS=$(SOURCES:.cpp=.o)
11  EXECUTABLE=header  EXECUTABLE=header$(EXE)
12    
13  all: $(SOURCES) $(EXECUTABLE)  all: $(SOURCES) $(EXECUTABLE)
14    
15  $(EXECUTABLE): $(OBJECTS)  $(EXECUTABLE): $(OBJECTS)
16          $(CC) $(LDFLAGS) $(OBJECTS) -o $@          $(LINK.o) $^ $(LOADLIBES) $(LDLIBS) -o $@
17    
18  clean:  clean:
19          rm -f $(EXECUTABLE) $(OBJECTS)          rm -f $(EXECUTABLE) $(OBJECTS)
 .cpp.o:  
         $(CC) $(CFLAGS) $< -o $@  
20    

Legend:
Removed from v.1213  
changed lines
  Added in v.1214

  ViewVC Help
Powered by ViewVC 1.1.26