summaryrefslogtreecommitdiff
path: root/misc/example.cc
diff options
context:
space:
mode:
Diffstat (limited to 'misc/example.cc')
-rw-r--r--misc/example.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/example.cc b/misc/example.cc
index a8244ac4..67d0d7be 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()
{