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

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

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

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

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

  ViewVC Help
Powered by ViewVC 1.1.26