MWC: Add expr and find to Makefile.6809
authorTormod Volden <debian.tormod@gmail.com>
Mon, 16 May 2016 20:27:07 +0000 (22:27 +0200)
committerAlan Cox <alan@etchedpixels.co.uk>
Tue, 17 May 2016 10:30:10 +0000 (11:30 +0100)
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Applications/MWC/cmd/Makefile.6809

index 68400cf..142fefd 100644 (file)
@@ -15,7 +15,7 @@ CRT0 = ../../../Library/libs/crt0_6809.o
 .SUFFIXES: .c .o
 
 
-SRCS  = ac.c almanac.c at.c calendar.c col.c deroff.c m4.c moo.c pr.c tar.c test.c ttt.c
+SRCS  = ac.c almanac.c at.c calendar.c col.c deroff.c expr.c find.c m4.c moo.c pr.c tar.c test.c ttt.c
 
 OBJS = $(SRCS:.c=.o)
 
@@ -30,6 +30,12 @@ $(APPS): $(CRT0)
 %: %.o
        $(LINKER) -o $@ $(LINKER_OPT) $(CRT0) $<
 
+expr.c: expr.y
+       byacc -o expr.c expr.y
+
+find.c: find.y
+       byacc -o find.c find.y
+
 sizes: $(APPS)
        ls -l $(APPS) > size.report