X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=zotnet%2Ftws%2FMakefile.in;h=b14f24efe33299b8aa7642599eb5666769d393fb;hb=278a48ef53b5dde10d7c88f67f51ce15ad11c0c0;hp=3f96711e03ba6b62ce662206956f37632d300c71;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b;p=mmh diff --git a/zotnet/tws/Makefile.in b/zotnet/tws/Makefile.in index 3f96711..b14f24e 100644 --- a/zotnet/tws/Makefile.in +++ b/zotnet/tws/Makefile.in @@ -21,6 +21,8 @@ AWK = @AWK@ # LEX = @LEX@ LEX = lex SED = sed +LINT = @LINT@ +LINTFLAGS = @LINTFLAGS@ .SUFFIXES: .SUFFIXES: .c .o @@ -49,7 +51,7 @@ all: $(OBJS) # This will bomb if lex is really flex, so check # file and use pre-generated version if necessary -dtimep.c: $(srcdir)/dtimep.lex $(srcdir)/lexedit.sed +dtimep.c: $(srcdir)/dtimep.c-lexed $(srcdir)/dtimep.lex $(srcdir)/lexedit.sed $(LEX) -nt $(srcdir)/dtimep.lex | $(SED) -f $(srcdir)/lexedit.sed > $@ -@len=`wc -l $@ | $(AWK) ' { print $$1 } '`; \ if [ $$len -gt 500 ]; \ @@ -83,6 +85,11 @@ realclean: distclean superclean: realclean +# ========== DEPENDENCIES FOR LINT ================= + +lint: + $(LINT) $(LINTFLAGS) $(INCLUDES) $(DEFS) $(SRCS) + # ========== DEPENDENCIES FOR MAINTENANCE ========== subdir = zotnet/tws