aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/astro
diff options
context:
space:
mode:
authorwkj <devnull@localhost>2004-04-21 02:23:14 +0000
committerwkj <devnull@localhost>2004-04-21 02:23:14 +0000
commit52e7c45837208e509c0304a099c946310100ea89 (patch)
treeccddfc66f862942699d8de7c124261c80a801a42 /src/cmd/astro
parentcd5bae7871bc0f0bc68b4d2a84703929a7a3c9d1 (diff)
downloadplan9port-52e7c45837208e509c0304a099c946310100ea89.tar.gz
plan9port-52e7c45837208e509c0304a099c946310100ea89.tar.bz2
plan9port-52e7c45837208e509c0304a099c946310100ea89.zip
Tell astro where to find estartab and here by defining SYS9 in CFLAGS.
(Better ideas welcome).
Diffstat (limited to 'src/cmd/astro')
-rw-r--r--src/cmd/astro/.cvsignore1
-rw-r--r--src/cmd/astro/astro.h4
-rw-r--r--src/cmd/astro/mkfile3
3 files changed, 6 insertions, 2 deletions
diff --git a/src/cmd/astro/.cvsignore b/src/cmd/astro/.cvsignore
index 3afd0789..588b9511 100644
--- a/src/cmd/astro/.cvsignore
+++ b/src/cmd/astro/.cvsignore
@@ -1 +1,2 @@
o.out
+o.astro
diff --git a/src/cmd/astro/astro.h b/src/cmd/astro/astro.h
index ab3c4119..7aeff4e6 100644
--- a/src/cmd/astro/astro.h
+++ b/src/cmd/astro/astro.h
@@ -1,8 +1,8 @@
#include <u.h>
#include <libc.h>
-#pragma varargck type "R" double
-#pragma varargck type "D" double
+//#pragma varargck type "R" double
+//#pragma varargck type "D" double
typedef struct Obj1 Obj1;
typedef struct Obj2 Obj2;
diff --git a/src/cmd/astro/mkfile b/src/cmd/astro/mkfile
index 8ad239a7..6fa05c1b 100644
--- a/src/cmd/astro/mkfile
+++ b/src/cmd/astro/mkfile
@@ -36,4 +36,7 @@ OFILES=\
HFILES=astro.h\
SHORTLIB=bio 9
+
+CFLAGS= -DSYS9=\"$PLAN9\"
+
<$PLAN9/src/mkone