aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/wimaxasncp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/wimaxasncp')
-rw-r--r--plugins/wimaxasncp/Makefile.nmake8
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/wimaxasncp/Makefile.nmake b/plugins/wimaxasncp/Makefile.nmake
index dc3f07e5f6..4d3fcf97b9 100644
--- a/plugins/wimaxasncp/Makefile.nmake
+++ b/plugins/wimaxasncp/Makefile.nmake
@@ -10,8 +10,13 @@ include ..\..\Makefile.nmake.inc
include Makefile.common
-CFLAGS=/WX /DHAVE_CONFIG_H /I../.. $(GLIB_CFLAGS) \
+# We use GENERATED_CFLAGS to get around flex's non-LLP64-compliant output
+GENERATED_CFLAGS=/DHAVE_CONFIG_H /I../.. $(GLIB_CFLAGS) \
/I$(PCAP_DIR)\include -D_U_="" $(LOCAL_CFLAGS)
+CFLAGS=/WX $(GENERATED_CFLAGS)
+
+
+
.c.obj::
$(CC) $(CFLAGS) -Fd.\ -c $<
@@ -96,6 +101,7 @@ RUNLEX = ..\..\tools\runlex.sh
wimaxasncp_dict_lex.h : wimaxasncp_dict.c
wimaxasncp_dict.obj : wimaxasncp_dict.c
+ $(CC) $(CVARSDLL) $(GENERATED_CFLAGS) -Fd.\ -c $?
clean:
rm -f $(OBJECTS) $(RESOURCE) plugin.c *.pdb \