mirror of
https://github.com/intel/isa-l.git
synced 2025-12-06 16:08:06 +01:00
build: Fix missing ms function export
Windows def file was missing an exported ec support function. Also added path in nmake file to build extra examples. Change-Id: I59ac1599dcb8cdb45077347c74b57aeca4751c35 Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
This commit is contained in:
@@ -231,6 +231,9 @@ ex = \
|
||||
ec_simple_example.exe \
|
||||
ec_piggyback_example.exe
|
||||
|
||||
{examples\ec}.c.obj:
|
||||
$(CC) $(CFLAGS) /c -Fo$@ $?
|
||||
|
||||
ex: lib $(ex)
|
||||
|
||||
$(ex): $(@B).obj
|
||||
|
||||
@@ -115,3 +115,4 @@ isal_gzip_header_init @110
|
||||
isal_adler32 @111
|
||||
isal_deflate_process_dict @112
|
||||
isal_deflate_reset_dict @113
|
||||
gf_inv @114
|
||||
|
||||
@@ -55,6 +55,8 @@ ifneq (,$(examples))
|
||||
@$(foreach ex, $(notdir $(examples)), printf " %s\n\t%s.exe" \\ $(ex) >> $@; )
|
||||
@echo '' >> $@
|
||||
@echo '' >> $@
|
||||
@$(foreach d, $(subst /,\\, $(sort $(patsubst %/,%,$(filter examples/%,$(dir $(examples)))))), \
|
||||
printf "{%s}.c.obj:\n\t\$$(CC) \$$(CFLAGS) /c -Fo\$$@ \$$?\n\n" $(d) >> $@; )
|
||||
@echo 'ex: lib $$(ex)' >> $@
|
||||
@echo '' >> $@
|
||||
@echo '$$(ex): $$(@B).obj' >> $@
|
||||
|
||||
Reference in New Issue
Block a user