summaryrefslogtreecommitdiff
path: root/source3/aparser/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'source3/aparser/Makefile')
-rw-r--r--source3/aparser/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/source3/aparser/Makefile b/source3/aparser/Makefile
index e74e99de18..160b11155a 100644
--- a/source3/aparser/Makefile
+++ b/source3/aparser/Makefile
@@ -1,20 +1,17 @@
CFLAGS=-Wall -g
CC=gcc
-%.h : %.struct
- igawk -f parser.awk < $*.struct > $*.h
-
OBJ = vluke.o parser.o
+AWKPROGS=dump.awk harness.awk header.awk parsefn.awk main.awk parsetree.awk template.awk util.awk
all: test.h vluke
-test.h : test.struct
+test.h : $(AWKPROGS)
+ igawk -f main.awk spool.struct
vluke: test.h $(OBJ)
$(CC) $(CFLAGS) -o vluke $(OBJ)
clean:
- rm -f *.o test.h
+ rm -f *.o test.h prs_*.[ch]
-test: vluke
- ./vluke test.dat > test.out