Skip to content

Commit

Permalink
scanner.c.top might not be in the current directory; look in $(srcdir).
Browse files Browse the repository at this point in the history
This fixes GitHub issue #424, where out-of-tree builds fail.
  • Loading branch information
guyharris committed Apr 8, 2015
1 parent 58c9139 commit 1d62204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.in
Expand Up @@ -449,7 +449,7 @@ scanner.c: $(srcdir)/scanner.l
@rm -f $@ $@.bottom
$(srcdir)/runlex.sh $(LEX) -o$@ $<
mv $@ $@.bottom
cat $@.top $@.bottom > $@
cat $(srcdir)/$@.top $@.bottom > $@
@rm $@.bottom

scanner.o: scanner.c tokdefs.h
Expand Down

0 comments on commit 1d62204

Please sign in to comment.