JNI for test coverage #3965

strange work-around
This commit is contained in:
rusefillc 2022-03-01 00:34:39 -05:00
parent e688dd10d1
commit 56bb2e2c70
1 changed files with 8 additions and 8 deletions

View File

@ -11,6 +11,14 @@ endif
BINARY_OUTPUT = $(BUILDDIR)/$(PROJECT)
SHARED_OUTPUT = $(BUILDDIR)/lib_$(PROJECT)
ifeq ($(OS),Windows_NT)
# todo: something is not right here how can we avoid explicit suffix?
# should not gcc figure it out based on 'shared' option?
SHARED_OUTPUT_OPT = $(SHARED_OUTPUT).dll
else
SHARED_OUTPUT_OPT = $(SHARED_OUTPUT).so
endif
# Automatic compiler options
OPT = $(USE_OPT)
COPT = $(USE_COPT)
@ -131,14 +139,6 @@ else
@$(CC) -c $(ASXFLAGS) $(TOPT) -I. $(IINCDIR) $< -o $@
endif
ifneq ($(OS),Windows_NT)
# todo: something is not right here how can we avoid explicit suffix?
# should not gcc figure it out based on 'shared' option?
SHARED_OUTPUT_OPT = $(SHARED_OUTPUT).dll
else
SHARED_OUTPUT_OPT = $(SHARED_OUTPUT).so
endif
$(BINARY_OUTPUT): $(OBJS)
rm -rf $(BUILDDIR)/obj/*gcda
ifeq ($(USE_VERBOSE_COMPILE),yes)