Updated Dockerfiles
This commit is contained in:
@ -8,7 +8,7 @@ DATA_PATH := ../data
|
||||
#CFLAGS := -O0 -g -G -pg -Xptxas=-w -Xcompiler -O0,-rdynamic,-g
|
||||
CFLAGS := -dlto -O2 -Xcompiler -O2
|
||||
#CFLAGS := -dlto -O2 -g -Xcompiler -O2,-g,-ggdb
|
||||
CFLAGS := $(CFLAGS) -MMD -MP -Werror=all-warnings -Xcompiler -Wall,-Werror,-Werror=implicit-fallthrough=0,-Wextra
|
||||
CFLAGS := $(CFLAGS) -MMD -MP -Werror=all-warnings -Xcompiler -Wall,-Werror,-Wextra
|
||||
EXEC := $(OBJ_DIR)/ViolaJones
|
||||
DATA := $(DATA_PATH)/X_train.bin $(DATA_PATH)/X_test.bin $(DATA_PATH)/y_train.bin $(DATA_PATH)/y_test.bin
|
||||
SRC := $(shell find $(SRC_DIR) -name '*.cpp' -o -name '*.cu')
|
||||
@ -88,9 +88,7 @@ log: $(DATA) reset
|
||||
.PHONY: reset
|
||||
reset:
|
||||
@echo 'Deleting generated states and models'
|
||||
@rm -frv $(OUT_DIR)/* $(MODELS_DIR)/*
|
||||
#@ln -sv /mnt/pierre_stuffs/ViolaJones/cpp/models .
|
||||
#@ln -sv /mnt/pierre_stuffs/ViolaJones/cpp/out .
|
||||
@rm -frv $(OUT_DIR) $(MODELS_DIR)
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
|
Reference in New Issue
Block a user