summaryrefslogtreecommitdiff
path: root/test/fuzz/rules.mk
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2023-03-17 19:27:47 +0700
committerGitHub <[email protected]>2023-03-17 19:27:47 +0700
commit4d273254b6a9ce8f65dcadb637b2e2b59415a21e (patch)
tree46c80d419889884f13baf8467edb5d363b68b295 /test/fuzz/rules.mk
parent16daad81643279ffc951ba11a531877dfee8c872 (diff)
parent6683053f4827b682f51c56ed664e440c0286de80 (diff)
Merge pull request #1961 from hathach/remove-all-submodules
Remove all submodules
Diffstat (limited to 'test/fuzz/rules.mk')
-rw-r--r--test/fuzz/rules.mk10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/fuzz/rules.mk b/test/fuzz/rules.mk
index d9c2a1a77..ee91c706d 100644
--- a/test/fuzz/rules.mk
+++ b/test/fuzz/rules.mk
@@ -89,7 +89,7 @@ endif
# Rules
# ---------------------------------------
-all: $(BUILD)/$(PROJECT)
+all: $(BUILD)/$(PROJECT)
OBJ_DIRS = $(sort $(dir $(OBJ)))
$(OBJ): | $(OBJ_DIRS)
@@ -111,7 +111,7 @@ vpath %.c . $(TOP)
$(BUILD)/obj/%.o: %.c
@echo CC $(notdir $@)
@$(CC) $(CFLAGS) -c -MD -o $@ $<
-
+
# All cpp srcs
vpath %.cc . $(TOP)
$(BUILD)/obj/%_cxx.o: %.cc
@@ -142,9 +142,7 @@ endif
# get depenecies
.PHONY: get-deps
get-deps:
- ifdef DEPS_SUBMODULES
- git -C $(TOP) submodule update --init $(DEPS_SUBMODULES)
- endif
+ $(PYTHON) $(TOP)/tools/get_deps.py $(DEPS_SUBMODULES)
size: $(BUILD)/$(PROJECT)
-@echo ''
@@ -158,4 +156,4 @@ linkermap: $(BUILD)/$(PROJECT)
# Print out the value of a make variable.
# https://stackoverflow.com/questions/16467718/how-to-print-out-a-variable-in-makefile
print-%:
- @echo $* = $($*) \ No newline at end of file
+ @echo $* = $($*)