-BEGIN { print "#define CONDBRA '\001'" > "pop_push.h"
- print "#define JUMP '\002'" >> "pop_push.h"
- print "#define HASLABEL '\004'" >> "pop_push.h"
- print "#include \"pop_push.h\""
+BEGIN { print "#include \"pop_push.h\""
print
print "char *pop_push[] = {"
print "\"\","
mktab.c: $(SRC_DIR)/mktab.y
yacc $(SRC_DIR)/mktab.y && mv y.tab.c mktab.c
-pop_push.c pop_push.h: $(SRC_HOME)/etc/em_table $(SRC_DIR)/pop_push.awk
+pop_push.c: $(SRC_HOME)/etc/em_table $(SRC_DIR)/pop_push.awk
awk -f $(SRC_DIR)/pop_push.awk < $(SRC_HOME)/etc/em_table > pop_push.c
regglob.c: $(SRC_DIR)/reg.c
clean:
rm -f *.$(SUF) opt mktab mktab.c scan.c pattern.c opt2 Out \
- pop_push.c pop_push.h regglob.c regnoglob.c *.old
+ pop_push.c regglob.c regnoglob.c *.old
scan.c: $(SRC_DIR)/scan.l
flex -st $(SRC_DIR)/scan.l > scan.c
reg.$(SUF): $(SRC_DIR)/assert.h
tes.$(SUF): $(SRC_DIR)/tes.c
$(CC) -c $(CFLAGS) $(SRC_DIR)/tes.c
-tes.$(SUF): ./pop_push.h
+tes.$(SUF): $(SRC_DIR)/pop_push.h
tes.$(SUF): $(SRC_DIR)/ext.h
tes.$(SUF): $(SRC_DIR)/line.h
tes.$(SUF): $(SRC_DIR)/proinf.h
tes.$(SUF): $(TARGET_HOME)/h/em_spec.h
pop_push.$(SUF): pop_push.c
$(CC) -c $(CFLAGS) pop_push.c
-pop_push.$(SUF): pop_push.h
+pop_push.$(SUF): $(SRC_DIR)/pop_push.h
pattern.$(SUF): pattern.c
$(CC) -c $(CFLAGS) pattern.c
pattern.$(SUF): $(SRC_DIR)/pattern.h