File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,9 @@ syscall/SRCFILES.traps
125
125
syscall /gen-syscall
126
126
syscall /pars.h
127
127
syscall /syscalls.stmp
128
+ syscall /pars.c
129
+ syscall /scan.c
130
+ syscall /.stmp.pars
128
131
time /test-clock
129
132
time /test-getdate
130
133
time /test-mktime
Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ include $(top_srcdir)/checkrules
37
37
cflags = -O -Wall
38
38
type =
39
39
40
+ # FIXME: adjust rules in toplevel to cleanup .stmp.pars, syscalls.stmp and other generated files
41
+
40
42
syscalls.stmp : gen-syscall0 syscalls.master
41
43
echo " TRAPS=" > SRCFILES.traps
42
44
./gen-syscall syscalls.master
@@ -48,15 +50,16 @@ gen-syscall0:
48
50
gen-syscall : $(gen_objs )
49
51
$(CC ) $(gen_objs ) -o $@
50
52
51
- pars.c pars.h : pars.y
52
- if bison --defines=pars.h.tmp$$$$ --output=pars.c $< ; then mv pars.h.tmp$$$$ pars.h; else rm -f pars.h.tmp$$$$ ; exit 1; fi
53
+ pars.c pars.h .stmp.pars : pars.y
54
+ bison --defines=pars.h --output=pars.c $<
55
+ touch .stmp.pars
53
56
54
- pars.o : pars.c pars.h
57
+ pars.o : pars.c pars.h .stmp.pars
55
58
56
59
scan.c : scan.l
57
60
flex -o$@ $<
58
61
59
- scan.o : scan.c pars.h
62
+ scan.o : scan.c pars.h .stmp.pars
60
63
61
64
install : all-here
62
65
You can’t perform that action at this time.
0 commit comments