aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/Makefile.nmake11
1 files changed, 6 insertions, 5 deletions
diff --git a/wiretap/Makefile.nmake b/wiretap/Makefile.nmake
index e58a2c99b9..89619a5213 100644
--- a/wiretap/Makefile.nmake
+++ b/wiretap/Makefile.nmake
@@ -14,9 +14,14 @@ CFLAGS=-WX -DYYMALLOC=malloc -DYYFREE=free -DHAVE_CONFIG_H $(GLIB_CFLAGS) $(ZLIB
CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL
+.SUFFIXES: .l
+
.c.obj::
$(CC) $(CVARSDLL) $(CFLAGS) -Fd.\ -c $<
+.l.c:
+ $(LEX) -o$@ $<
+
OBJECTS=$(NONGENERATED_C_FILES:.c=.obj) $(GENERATED_C_FILES:.c=.obj) file_util.obj
wiretap_LIBS = \
@@ -46,11 +51,7 @@ ascend-grammar.c ascend-grammar.h : ascend-grammar.y
ascend-scanner.obj : ascend-scanner.c ascend-grammar.h
-ascend-scanner.c : ascend-scanner.l
- $(LEX) -Pascend -oascend-scanner.c ascend-scanner.l
-
-k12text.c : k12text.l
- $(LEX) -PK12Text -ok12text.c k12text.l
+k12text.obj : k12text.c
config.h : config.h.win32 ..\config.nmake
sed -e s/@VERSION@/$(WTAP_VERSION)/ \