summaryrefslogtreecommitdiffstats
path: root/usr.bin/mk_cmds
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mk_cmds')
-rw-r--r--usr.bin/mk_cmds/Makefile4
-rw-r--r--usr.bin/mk_cmds/cmd_tbl.l2
2 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mk_cmds/Makefile b/usr.bin/mk_cmds/Makefile
index f9c2878..ef9a00e 100644
--- a/usr.bin/mk_cmds/Makefile
+++ b/usr.bin/mk_cmds/Makefile
@@ -2,12 +2,12 @@
PROG= mk_cmds
#
-# NB: ct.c must come before cmd_tbl.c so that ct.tab.h will be generated.
+# NB: ct.c must come before cmd_tbl.c so that y.tab.h will be generated.
#
SRCS= mk_cmds.c options.c utils.c ct.c cmd_tbl.c
CFLAGS+= -I. -I${.CURDIR}/../../lib/libss -DIN_MK_CMDS
LFLAGS= -l
-CLEANFILES+= ct.tab.h cmd_tbl.c ct.c
+CLEANFILES+= y.tab.c y.tab.h lex.yy.c cmd_tbl.c ct.c
NOMAN= # XXX
LDADD+= -ll
diff --git a/usr.bin/mk_cmds/cmd_tbl.l b/usr.bin/mk_cmds/cmd_tbl.l
index 03d05bd..15b31c6 100644
--- a/usr.bin/mk_cmds/cmd_tbl.l
+++ b/usr.bin/mk_cmds/cmd_tbl.l
@@ -6,7 +6,7 @@
*/
#include <string.h>
-#include "ct.tab.h"
+#include "y.tab.h"
#include "copyright.h"
extern char *last_token, *ds();
OpenPOWER on IntegriCloud