diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/example.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/example.cc b/misc/example.cc index a8244ac4e..67d0d7be5 100644 --- a/misc/example.cc +++ b/misc/example.cc @@ -1,6 +1,6 @@ -// clang -o example -std=c++11 -I/usr/include/tcl8.5 -I include/ example.cc objs/*.o -lstdc++ -lm -lrt -lreadline -lffi -ldl -ltcl8.5 +// yosys-config --exec --cxx -o example --cxxflags --ldflags example.cc -lyosys -lstdc++ -#include <yosys.h> +#include <kernel/yosys.h> int main() { |