diff --git a/makefile b/makefile index 2f3467f..667450d 100644 --- a/makefile +++ b/makefile @@ -1,5 +1,5 @@ CXX = g++ -ARGS = -std=c++17 +ARGS = -std=c++17 -Ibuild -Isrc BISON = /opt/homebrew/opt/bison/bin/bison FLEX = flex diff --git a/src/main.cpp b/src/main.cpp index da83ca3..667c494 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,5 +1,5 @@ -#include "../build/parser.hpp" -#include "../src/scanner.hpp" +#include "parser.hpp" +#include "scanner.hpp" #include int main() diff --git a/src/parser.y b/src/parser.y index 9b9e168..871dae9 100644 --- a/src/parser.y +++ b/src/parser.y @@ -13,7 +13,7 @@ %code { #include - #include "../src/scanner.hpp" + #include "scanner.hpp" #undef yylex #define yylex scanner->lex diff --git a/src/scanner.hpp b/src/scanner.hpp index 5593f25..9e4a6f6 100644 --- a/src/scanner.hpp +++ b/src/scanner.hpp @@ -4,7 +4,7 @@ #include #endif -#include "../build/parser.hpp" +#include "parser.hpp" #include class Scanner : public yyFlexLexer