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

Annotation of /public/pc/tools/osdk/main/xa/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1125 - (hide annotations)
Tue May 6 21:15:53 2014 UTC (5 years, 7 months ago) by Jylam
File size: 584 byte(s)
Makefile for most of the dev tools ; POSIX fixes

1 Jylam 1125 CC=g++
2     CFLAGS=-c -Wall -Iincludes -I../common/includes/ -std=c++11
3     LDFLAGS=-L../common/ -lcommon ../common/common.o ../common/lz_pack.o -lcurses
4     SOURCES=sources/xaa.cpp \
5     sources/xa.cpp \
6     sources/xal.cpp \
7     sources/xam.cpp \
8     sources/xao.cpp \
9     sources/xap.cpp \
10     sources/xar2.cpp \
11     sources/xar.cpp \
12     sources/xat.cpp \
13     sources/xau.cpp
14    
15     OBJECTS=$(SOURCES:.cpp=.o)
16     EXECUTABLE=xa
17    
18     all: $(SOURCES) $(EXECUTABLE)
19    
20     $(EXECUTABLE): $(OBJECTS)
21     $(CC) $(LDFLAGS) $(OBJECTS) -o $@
22     clean:
23     rm -f $(EXECUTABLE) $(OBJECTS)
24     .cpp.o:
25     $(CC) $(CFLAGS) $< -o $@
26    

  ViewVC Help
Powered by ViewVC 1.1.26