Skip to content

Commit

Permalink
c-parser: make table.ML depend on Makefile
Browse files Browse the repository at this point in the history
Since the contents of the generated table.ML depend on the Makefile,
the Makefile itself should be a dependency.

Signed-off-by: Gerwin Klein <[email protected]>
  • Loading branch information
lsf37 authored and corlewis committed Jun 12, 2024
1 parent f196007 commit 6ab6513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/c-parser/standalone-parser/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ include $(STP_PFX)/../Makefile

STP_CLEAN_TARGETS := $(STPARSERS) $(TOKENIZERS) $(STP_PFX)/c-parser.o $(STP_PFX)/table.ML

$(STP_PFX)/table.ML: $(ISABELLE_HOME)/src/Pure/General/table.ML
$(STP_PFX)/table.ML: $(ISABELLE_HOME)/src/Pure/General/table.ML $(STP_PFX)/Makefile
sed -e '/\(\* cache \*\)/,/final.declarations/d' < $< | \
sed -e "s/^ val unsynchronized_cache:.*a/ (* removed unsynchronized_cache *)/" > $@

Expand Down

0 comments on commit 6ab6513

Please sign in to comment.