commit d2ed486ba6edaaf5905a8372159fab2b9ce06ee1
parent 328916fd8307c9e158da80e3ddb8599d96be4ad8
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 17 Oct 2025 17:14:16 +0200
Fix compilation
The les2htcp.h file was not generated as it should have been
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
@@ -93,10 +93,10 @@ src/les2htcp.h: src/les2htcp.h.in
les2htcp: config.mk $(UTIL_OBJ)
$(CC) $(CFLAGS_UTIL) -o $@ $(UTIL_OBJ) $(LDFLAGS_UTIL)
-$(UTIL_DEP): config.mk
+$(UTIL_DEP): config.mk src/les2htcp.h
@$(CC) $(CFLAGS_UTIL) -MM -MT "$(@:.d=.o) $@" $(@:.d=.c) -MF $@
-$(UTIL_OBJ): config.mk
+$(UTIL_OBJ): config.mk src/les2htcp.h
$(CC) $(CFLAGS_UTIL) -c $(@:.o=.c) -o $@
################################################################################
@@ -144,7 +144,7 @@ uninstall:
clean: clean_test
rm -f $(DEP) $(OBJ) $(LIBNAME)
- rm -f $(UTIL_DEP) $(UTIL_OBJ) les2htcp
+ rm -f $(UTIL_DEP) $(UTIL_OBJ) les2htcp src/les2htcp.h
rm -f .config libhtcp.o htcp.pc htcp-local.pc
lint: