When Shantonu wrote the new, more portable dtimep.lex, he left out the #ifdef
[mmh] / sbr / Makefile.in
index 9e8e8aa..7ca5554 100644 (file)
@@ -65,7 +65,7 @@ SRCS = add.c addrsbr.c ambigsw.c atooi.c brkstring.c                  \
 # source for compatibility functions
 COMPAT = snprintf.c strdup.c strerror.c
 
-OBJS = $(patsubst %.c,%.o,$(SRCS))
+OBJS = $(SRCS:.c=.o)
 
 # auxiliary files
 AUX = Makefile.in sigmsg.awk dtimep.lex
@@ -85,7 +85,7 @@ lint: sigmsg.h
        $(LINT) $(LINTFLAGS) $(INCLUDES) $(DEFS) $(SRCS)
 
 dtimep.c: dtimep.lex
-       $(LEX) -nit $< > $@
+       $(LEX) -nt $< > $@
 
 pidstatus.o: sigmsg.h