Print this page
3731 Update nawk to version 20121220
@@ -27,23 +27,17 @@
# NOTE: awk is oawk.
PROG= nawk
-OBJ1= b.o lib.o main.o parse.o proctab.o run.o tran.o
-OBJ2= awk.g.o awk.lx.o
+OBJ1= b.o lex.o lib.o main.o parse.o proctab.o run.o tran.o
+OBJ2= awk.g.o
OBJS= $(OBJ2) $(OBJ1)
SRCS= $(OBJ1:%.o=%.c)
include ../Makefile.cmd
-CERRWARN += -_gcc=-Wno-implicit-function-declaration
-CERRWARN += -_gcc=-Wno-unused-label
-CERRWARN += -_gcc=-Wno-parentheses
-CERRWARN += -_gcc=-Wno-unused-variable
-CERRWARN += -_gcc=-Wno-uninitialized
-
#
# Message catalog
#
POFILES= $(OBJS:%.o=%.po)
POFILE= awk.po
@@ -83,17 +77,17 @@
clean:
$(RM) $(OBJS) $(CLEANFILES)
lint: awk.g.c lint_SRCS
+ $(LINT.c) awk.g.c $(LDLIBS)
+ $(LINT.c) maketab.c $(LDLIBS)
awk.g.c + y.tab.h: awk.g.y
awk.g.o: awk.g.c
-awk.lx.c: awk.lx.l
-
proctab.o: proctab.c
$(COMPILE.c) proctab.c
$(POST_PROCESS_O)
include ../Makefile.targ