--- tests/dga/Makefile.in.orig	2023-02-01 17:29:59 UTC
+++ tests/dga/Makefile.in
@@ -4,10 +4,7 @@ SRCHOME=../../src
 
 SRCHOME=../../src
 
-ifneq ($(OS),Windows_NT)
-CFLAGS+=-fPIC -DPIC
-endif
-CFLAGS+=-g -I$(SRCHOME)/include @NDPI_CFLAGS@
+CFLAGS+=-fPIC -DPIC -g -I$(SRCHOME)/include @CFLAGS@ @NDPI_CFLAGS@
 LIBNDPI=$(SRCHOME)/lib/libndpi.a
 LIBS=$(LIBNDPI) @ADDITIONAL_LIBS@ -lpthread @LIBS@
 LDFLAGS+=@NDPI_LDFLAGS@
@@ -18,7 +15,7 @@ EXECUTABLE_SOURCES := dga_evaluate.c
 all: dga_evaluate$(EXE_SUFFIX)
 
 EXECUTABLE_SOURCES := dga_evaluate.c
-COMMON_SOURCES := $(filter-out $(EXECUTABLE_SOURCES),$(wildcard *.c ))
+COMMON_SOURCES =
 
 dga_evaluate$(EXE_SUFFIX): $(LIBNDPI) dga_evaluate.o
 	$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) dga_evaluate.o $(LIBS) -o $@
