aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-04-03 03:08:40 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-04-03 03:08:40 -0400
commit438edf45c27da9aa2503a5bcf50f34475c8bc63d (patch)
tree5a96862127f2c0906b6f643e2552bd315e67dca5
parent5fc433e7146f3aebaf9d3dc1f61d0ccfb5df55bb (diff)
Hook things up so the compiler can run better without installing
-rw-r--r--.gitignore4
l---------include/tomo1
-rw-r--r--tomo.c2
3 files changed, 4 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 7748ae32..664be7b5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,5 +3,5 @@
*.tm.c
*.tm.h
*.tm.o
-tomo
-tags
+/tomo
+/tags
diff --git a/include/tomo b/include/tomo
new file mode 120000
index 00000000..ee3780d7
--- /dev/null
+++ b/include/tomo
@@ -0,0 +1 @@
+../builtins \ No newline at end of file
diff --git a/tomo.c b/tomo.c
index 4d900ae6..37c6d4ee 100644
--- a/tomo.c
+++ b/tomo.c
@@ -83,7 +83,7 @@ int main(int argc, char *argv[])
cflags = getenv("CFLAGS");
if (!cflags)
- cflags = heap_strf("%s %s -ggdb -I. -D_DEFAULT_SOURCE", cconfig, optimization);
+ cflags = heap_strf("%s %s -ggdb -I./include -D_DEFAULT_SOURCE", cconfig, optimization);
ldlibs = "-lgc -lcord -lm -L. -ltomo";
if (getenv("LDLIBS"))