tTell astro where to find estartab and here by defining SYS9 in CFLAGS. (Better ideas welcome). - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 52e7c45837208e509c0304a099c946310100ea89
 (DIR) parent cd5bae7871bc0f0bc68b4d2a84703929a7a3c9d1
 (HTM) Author: wkj <devnull@localhost>
       Date:   Wed, 21 Apr 2004 02:23:14 +0000
       
       Tell astro where to find estartab and here by defining SYS9 in CFLAGS.
       (Better ideas welcome).
       
       Diffstat:
         M src/cmd/astro/.cvsignore            |       1 +
         M src/cmd/astro/astro.h               |       4 ++--
         M src/cmd/astro/mkfile                |       3 +++
       
       3 files changed, 6 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/src/cmd/astro/.cvsignore b/src/cmd/astro/.cvsignore
       t@@ -1 +1,2 @@
        o.out
       +o.astro
 (DIR) diff --git a/src/cmd/astro/astro.h b/src/cmd/astro/astro.h
       t@@ -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;
 (DIR) diff --git a/src/cmd/astro/mkfile b/src/cmd/astro/mkfile
       t@@ -36,4 +36,7 @@ OFILES=\
        HFILES=astro.h\
        
        SHORTLIB=bio 9
       +
       +CFLAGS= -DSYS9=\"$PLAN9\"
       +
        <$PLAN9/src/mkone