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

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

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

revision 1212 by Jylam, Tue May 6 21:15:53 2014 UTC revision 1213 by mmu_man, Sun Sep 28 18:40:33 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 -lcurses  CPPFLAGS= -Wall -Iincludes
4    
5    CPPFLAGS += -I ../common/includes
6    LDLIBS += -L ../common -lcommon $(COMMON_EXTRA_LDFLAGS)
7  SOURCES=sources/DskTool.cpp  SOURCES=sources/DskTool.cpp
8    
9  OBJECTS=$(SOURCES:.cpp=.o)  OBJECTS=$(SOURCES:.cpp=.o)
10  EXECUTABLE=DskTool  EXECUTABLE=bas2tap$(EXE)
11    
12  all: $(SOURCES) $(EXECUTABLE)  all: $(SOURCES) $(EXECUTABLE)
13    
14  $(EXECUTABLE): $(OBJECTS)  $(EXECUTABLE): $(OBJECTS)
15          $(CC) $(LDFLAGS) $(OBJECTS) -o $@          $(LINK.o) $^ $(LOADLIBES) $(LDLIBS) -o $@
16    
17  clean:  clean:
18          rm -f $(EXECUTABLE) $(OBJECTS)          rm -f $(EXECUTABLE) $(OBJECTS)
 .cpp.o:  
         $(CC) $(CFLAGS) $< -o $@  
19    

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

  ViewVC Help
Powered by ViewVC 1.1.26