Skip to content

Commit

Permalink
fixed flex and bison
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Stern committed Mar 15, 2021
1 parent 086bb95 commit 19f0b9f
Show file tree
Hide file tree
Showing 3 changed files with 914 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ all: $(BISON) $(BISON_C) $(BISON_H) $(FLEX) $(FLEX_C) $(BIN) $(TESTS)
$(FLEX_C):
flex $(FLEX)
mv lex.yy.c $(FLEX_C)
$(CC) -fPIC -g -c $(FLEX_C) -o $(FLEX_OBJ)
$(CC) -fPIC -g -c $(FLEX_C) -o $(FLEX_OBJ) -lfl
$(BISON_C): $(BISON)
bison -d $(BISON) -o $(BISON_C) #-Wcounterexample
$(CC) -fPIC -g -c $(BISON_C) -o $(BISON_OBJ)
Expand Down
Loading

0 comments on commit 19f0b9f

Please sign in to comment.