File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -79,20 +79,20 @@ CPPFLAGS_FOR_BUILD +=-I$(top_srcdir)/
7979CFLAGS_FOR_BUILD += -Wall -Wextra -Wno-unused-function
8080
8181gen_context_OBJECTS = gen_context.o
82-
82+ gen_context_BIN = gen_context $( BUILD_EXEEXT )
8383gen_% .o : src/gen_% .c
8484 $(CC_FOR_BUILD ) $(CPPFLAGS_FOR_BUILD ) $(CFLAGS_FOR_BUILD ) -c $< -o $@
8585
86- gen_context $( BUILD_EXEEXT ) : $(gen_context_OBJECTS )
86+ $( gen_context_BIN ) : $(gen_context_OBJECTS )
8787 $(CC_FOR_BUILD ) $^ -o $@
8888
8989$(libsecp256k1_la_OBJECTS ) : src/ecmult_static_context.h
9090$(tests_OBJECTS ) : src/ecmult_static_context.h
9191
92- src/ecmult_static_context.h : gen_context
93- ./gen_context
92+ src/ecmult_static_context.h : $( gen_context_BIN )
93+ ./$( gen_context_BIN )
9494
95- CLEANFILES = gen_context src/ecmult_static_context.h
95+ CLEANFILES = $( gen_context_BIN ) src/ecmult_static_context.h
9696endif
9797
9898EXTRA_DIST = autogen.sh src/gen_context.c src/basic-config.h
You can’t perform that action at this time.
0 commit comments