modifié : MakefileNoOTB
renommé : src/testMain.cpp -> src/apGenerator.cpp
This commit is contained in:
parent
7adfb40e0e
commit
2fbc95ffc0
@ -8,7 +8,7 @@ LIB_DIR = $(BLD_DIR)/lib
|
|||||||
OBJ_DIR = $(BLD_DIR)/obj
|
OBJ_DIR = $(BLD_DIR)/obj
|
||||||
|
|
||||||
## PRG #################################
|
## PRG #################################
|
||||||
TST_PRG = testMain
|
TST_PRG = apGenerator
|
||||||
TST_SRC = $(patsubst %, $(CPP_DIR)/%.cpp, $(TST_PRG))
|
TST_SRC = $(patsubst %, $(CPP_DIR)/%.cpp, $(TST_PRG))
|
||||||
TST_OUT = $(patsubst %, $(OUT_DIR)/%, $(TST_PRG))
|
TST_OUT = $(patsubst %, $(OUT_DIR)/%, $(TST_PRG))
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ $(OUT_DIR)/%: $(CPP_DIR)/*/%.cpp
|
|||||||
$(CC) $(IFLAGS) $< -L$(LIB_DIR) $(LFLAGS) -cpp -o $@
|
$(CC) $(IFLAGS) $< -L$(LIB_DIR) $(LFLAGS) -cpp -o $@
|
||||||
|
|
||||||
## ENTRIES #############################
|
## ENTRIES #############################
|
||||||
all: init libtriskele testMain
|
all: init libtriskele apGenerator
|
||||||
|
|
||||||
init:
|
init:
|
||||||
mkdir -p $(OUT_DIR) $(OBJ_DIR) $(LIB_DIR)
|
mkdir -p $(OUT_DIR) $(OBJ_DIR) $(LIB_DIR)
|
||||||
@ -45,7 +45,7 @@ wipe: clean
|
|||||||
libtriskele: $(LIB_DIR)/libtriskele.a
|
libtriskele: $(LIB_DIR)/libtriskele.a
|
||||||
|
|
||||||
$(TST_OUT): $(TST_SRC) $(LIB_DIR)/libtriskele.a
|
$(TST_OUT): $(TST_SRC) $(LIB_DIR)/libtriskele.a
|
||||||
testMain: $(TST_OUT)
|
apGenerator: $(TST_OUT)
|
||||||
# $(TST_OUT) data/nairobi-byte.tif data/result.tif -b 0 -w 4000 -h 4000 --min-tree -A data/areaThresholds.txt # --debug
|
# $(TST_OUT) data/nairobi-byte.tif data/result.tif -b 0 -w 4000 -h 4000 --min-tree -A data/areaThresholds.txt # --debug
|
||||||
# $(TST_OUT) data/10m.tif data/result.tif -b 0 --min-tree --max-tree --tos-tree -A data/areaThresholds.txt -S data/sdThresholds.txt -M data/moiThresholds.txt # --debug
|
# $(TST_OUT) data/10m.tif data/result.tif -b 0 --min-tree --max-tree --tos-tree -A data/areaThresholds.txt -S data/sdThresholds.txt -M data/moiThresholds.txt # --debug
|
||||||
$(TST_OUT) data/10m.tif data/result.tif --min-tree --max-tree --tos-tree -A data/areaThresholds.txt -S data/sdThresholds.txt -M data/moiThresholds.txt # --debug
|
$(TST_OUT) data/10m.tif data/result.tif --min-tree --max-tree --tos-tree -A data/areaThresholds.txt -S data/sdThresholds.txt -M data/moiThresholds.txt # --debug
|
||||||
@ -53,9 +53,9 @@ testMain: $(TST_OUT)
|
|||||||
|
|
||||||
## DEPENDS #############################
|
## DEPENDS #############################
|
||||||
ALL_OUT = $(TST_OUT)
|
ALL_OUT = $(TST_OUT)
|
||||||
ALL_OBJ = $(OBJ_DIR)/IImage.o $(OBJ_DIR)/triskeleArrayTreeBase.o $(OBJ_DIR)/Tree.o $(OBJ_DIR)/triskeleDebug.o $(OBJ_DIR)/triskeleBase.o $(OBJ_DIR)/QuadTreeBuilder.o $(OBJ_DIR)/XMLTreeBuilder.o $(OBJ_DIR)/Option.o $(OBJ_DIR)/Selected.o
|
ALL_OBJ = $(OBJ_DIR)/IImage.o $(OBJ_DIR)/triskeleArrayTreeBase.o $(OBJ_DIR)/Tree.o $(OBJ_DIR)/triskeleDebug.o $(OBJ_DIR)/triskeleBase.o $(OBJ_DIR)/QuadTreeBuilder.o $(OBJ_DIR)/Option.o $(OBJ_DIR)/Selected.o
|
||||||
|
|
||||||
#ALL_OBJ_NO_XML = $(OBJ_DIR)/IImage.o $(OBJ_DIR)/triskeleArrayTreeBase.o $(OBJ_DIR)/Tree.o $(OBJ_DIR)/triskeleDebug.o $(OBJ_DIR)/triskeleBase.o $(OBJ_DIR)/QuadTreeBuilder.o $(OBJ_DIR)/Option.o $(OBJ_DIR)/Selected.o
|
ALL_OBJ_XML = $(OBJ_DIR)/IImage.o $(OBJ_DIR)/triskeleArrayTreeBase.o $(OBJ_DIR)/Tree.o $(OBJ_DIR)/triskeleDebug.o $(OBJ_DIR)/triskeleBase.o $(OBJ_DIR)/QuadTreeBuilder.o $(OBJ_DIR)/XMLTreeBuilder.o $(OBJ_DIR)/Option.o $(OBJ_DIR)/Selected.o
|
||||||
|
|
||||||
DEPENDS = ${ALL_OUT:=.d} ${ALL_OBJ:.o=.d}
|
DEPENDS = ${ALL_OUT:=.d} ${ALL_OBJ:.o=.d}
|
||||||
-include ${DEPENDS}
|
-include ${DEPENDS}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user