diff options
author | Guy Harris <guy@alum.mit.edu> | 2007-08-01 00:22:25 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2007-08-01 00:22:25 +0000 |
commit | 61dd46fa9c5ffc266ed90fdc145c129c0268c549 (patch) | |
tree | d545e912742f01443012e279ae2687e89c72bd05 /epan/Makefile.nmake | |
parent | f39958d89aa20fd4635934b1c591a2526afd8afd (diff) | |
download | wireshark-61dd46fa9c5ffc266ed90fdc145c129c0268c549.tar.gz |
Use a common .l.c rule for running Flex on .l files, just as is done on
UN*X.
svn path=/trunk/; revision=22434
Diffstat (limited to 'epan/Makefile.nmake')
-rw-r--r-- | epan/Makefile.nmake | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/epan/Makefile.nmake b/epan/Makefile.nmake index 4b37806a1c..67aaa58a62 100644 --- a/epan/Makefile.nmake +++ b/epan/Makefile.nmake @@ -45,9 +45,14 @@ libwireshark_LIBS = \ $(WSLUA_LIB) \ dissectors\dissectors.lib +.SUFFIXES: .l + .c.obj:: $(CC) $(CVARSDLL) $(CFLAGS) -Fd.\ -c $< +.l.c: + $(LEX) -o$@ $< + LIBWIRESHARK_OBJECTS = $(LIBWIRESHARK_ALL_SRC:.c=.obj) EXTRA_OBJECTS = \ @@ -256,25 +261,20 @@ inet_ntop.c: ..\inet_ntop.c inet_pton.c: ..\inet_pton.c xcopy ..\inet_pton.c . /d -radius_dict.c : radius_dict.l - $(LEX) radius_dict.l - -diam_dict.c : diam_dict.l - $(LEX) diam_dict.l - sminmpec.c: enterprise-numbers make-sminmpec.pl $(PERL) make-sminmpec.pl enterprise-numbers sminmpec.c -dtd_parse.c : dtd_parse.l - $(LEX) -odtd_parse.c dtd_parse.l +dtd_grammar.h: dtd_grammar.c -dtd_preparse.c : dtd_preparse.l - $(LEX) -odtd_preparse.c dtd_preparse.l +radius_dict.obj : radius_dict.c -uat_load.c : uat_load.l - $(LEX) -ouat_load.c uat_load.l +diam_dict.obj : diam_dict.c -dtd_grammar.h: dtd_grammar.c +dtd_parse.obj : dtd_parse.c + +dtd_preparse.obj : dtd_preparse.c + +uat_load.obj : uat_load.c LEMON=..\tools\lemon |