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

Contents of /public/pc/tools/osdk/main/pictconv/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 882 - (show annotations)
Tue Sep 25 23:45:16 2012 UTC (7 years, 1 month ago) by mmu_man
File size: 600 byte(s)
Add Makefile

compiles but doesn't link yet.

1 include ../../../rules.mk
2
3 CPPFLAGS += -I ../common/includes
4
5 FI_PATH := ../../../../shared_libraries/freeimage/v3.12.0
6 CPPFLAGS += -I $(FI_PATH)/Dist
7 LDFLAGS += -L $(FI_PATH)/Dist -lfreeimage
8
9 LDFLAGS += -lstdc++
10 LDFLAGS += -L ../common -lcommon $(COMMON_EXTRA_LDFLAGS)
11
12 SOURCES := $(notdir $(wildcard sources/*.cpp) $(wildcard sources/Tests/*.cpp))
13 VPATH = sources sources/Tests
14 CPPFLAGS += -I sources -I includes
15 OBJS := $(subst .cpp,.o,$(SOURCES))
16 #OBJS := $(SOURCES:.cpp,.o)
17
18 all: pictconv$(EXE)
19
20 pictconv$(EXE): $(OBJS)
21 $(LINK.c) -o $@ $(OBJS) $(LDFLAGS)
22
23 clean:
24 rm -f pictconv$(EXE) $(OBJS)

  ViewVC Help
Powered by ViewVC 1.1.26