While trying to compile this software I'm getting this error at
link time:
compiling /usr/local/SatTrack/obj/satvect.o ...
linking /usr/local/SatTrack/run/sattrack for a i486/Linux ...
/usr/i486-linux/bin/ld: cannot open -lX11: No such file or directory
make: *** [/usr/local/SatTrack/run/sattrack] Error 1
cannac:/usr/local/SatTrack/src#
This is the Makefile and I am running the gcc of slackware 3.4
which has the latest X11R6 for Xwindows. There is a sim link to X11 in the
/usr/include directory. I tried all the examples in the makefile but none
work. What's wrong? The X11 in /usr/include goes to
/usr/XR11R6/include/X11 so maybe that's the problem?
#-------------------------------------------------------------------------------
#
# Makefile for HOME/SatTrack/src
#
# Author: Manfred Bester
# Version: V3.1 (3.1.1 patch)
# Started: 12Feb92
# Last change: 15Aug95
#
#
# SatTrack is Copyright (c) 1992, 1993, 1994, 1995 by Manfred Bester.
# All Rights Reserved.
#
# Permission to use, copy, and distribute SatTrack and its documentation in
# its entirety for educational, research and non-profit purposes, without fee,
# and without a written agreement is hereby granted, provided that the above
# copyright notice and the following three paragraphs appear in all copies.
# SatTrack may be modified for personal purposes, but modified versions
# may NOT be distributed without prior consent of the author.
#
# Permission to incorporate this software into commercial products may be
# obtained from the author, Dr. Manfred Bester, 1636 M. L. King Jr. Way,
# Berkeley, CA 94709, USA. Note that distributing SatTrack 'bundled' in
# with ANY product is considered to be a 'commercial purpose'.
#
# IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
# SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF
# THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE AUTHOR HAS BEEN ADVISED
# OF THE POSSIBILITY OF SUCH DAMAGE.
#
# THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
# PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS"
# BASIS, AND THE AUTHOR HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT,
# UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
#-------------------------------------------------------------------------------
#
# MACHINE CONFIGURATION (TO BE SELECTED BY THE USER)
#
#
# The four lines with 'CPU', 'CC_CMACH', 'CC_LMACH', and 'CC' need to be
# activated for a particular machine on which the code will be compiled and
# linked. 'CPU' is used only to tell at link time what machine is selected.
#
# If the Gnu C compiler is not available, set 'CC to 'cc' instead of 'gcc'.
# For a very rigorous compilation the flags '-Wconversion' and '-Wall' can be
# added to the 'CC_CMACH' line when using 'gcc'.
#
# The flag 'STDLIB' is used to NOT include 'stdlib.h' explicitly, because in
# some systems like SunOS 4.x.x 'stdlib.h' is included already somewhere else
# by default. Be aware that there are three different configurations for these
# five lines for Sun SPARCstations, especially when using 'gcc'! If this is
# not set up correctly, the 'atof' function will not work right.
#
# The flag 'TIME' is used to NOT include 'time.h' on a Sun-3 with SunOS 4.x.x.
#
# The flag 'TERMIO' is needed on IBM RS-6000's and HP Apollo 9000 Series 700's
# in order to include 'termio.h' instead of 'termios.h'.
#
# The flag 'HPTERM' is used to include the cursor control sequences for an
# HP terminal as opposed to a VT100 type terminal.
#
# If SatTrack is compiled under FreeBSD, the flag 'FREEBSD' needs to be set.
# In this case 'IOCTL' needs to be included as well in order to add
# 'sys/ioctl.h'. The latter is also true for the compilation on DEC machines.
#
# For the X Window system (X11R5 or X11R6) a few more line needs to be
# configured properly (see below in the following two sections).
#
# Sun-3 (Sun 3/80 with SunOS 4.x.x)
#
#CPU = Sun-3/SunOS
#CC_CMACH = -f68881 -O -DSTDLIB -DTIME
#CC_LMACH = -f68881
#CC = cc
# Sun-4 (SPARCstation IPC or 10 with SunOS 4.x.x, using 'cc' or 'gcc')
#
#CPU = Sun-4/SunOS
#CC_CMACH = -O3 -DSTDLIB
#CC_LMACH =
#CC = gcc
# Sun-4 (SPARCstation 5 or 10 with Solaris 2.x, using 'cc' only)
#
#CPU = Sun-4/Solaris
#CC_CMACH = -O3 -DSTDLIB -DSVR4
#CC_LMACH =
#CC = cc
# Sun-4 (SPARCstation 5 or 10 with Solaris 2.x, using 'gcc' only)
#
#CPU = Sun-4/Solaris
#CC_CMACH = -O3 -DSVR4 -Wall
#CC_LMACH =
#CC = gcc
# Apollo 700 (HP Apollo 9000 Series 700 with HPUX)
#
#CPU = HP9000-S700/HPUX
#CC_CMACH = -O -DTERMIO -DHPUX -DHPTERM
#CC_LMACH = -lBSD
#CC = gcc
# RS-6000 (IBM RS-6000 with AIX)
#
#CPU = IBM-RS6000/AIX
#CC_CMACH = -O -DSTDLIB -DTERMIO
#CC_LMACH =
#CC = bsdcc
# DEC 4000/710 (DEC 4000/710 with AXP/OSF (OSF/1 V3.0)) ('cc' or 'gcc')
#
#CPU = DEC4000/AXPOSF
#CC_CMACH = -O3 -DIOCTL
#CC_LMACH =
#CC = gcc
# Indigo 2 (SGI Indigo 2 with IRIX 5.3, using 'cc' only)
#
#CPU = SGI-Indigo/IRIX
#CC_CMACH = -O -D_BSD_SIGNALS -DTERMIO
#CC_LMACH =
#CC = cc
# i386 (i386 with Linux)
#
#CPU = i386/Linux
#CC_CMACH = -O
#CC_LMACH =
#CC = gcc
#i486 (i486 with Linux)
#
CPU = i486/Linux
CC_CMACH = -O2 -m486
CC_LMACH =
CC = gcc
# i386 (i386 with NetBSD)
#
#CPU = i386/NetBSD
#CC_CMACH = -O
#CC_LMACH =
#CC = gcc
# i386 (i386 with FreeBSD)
#
#CPU = i386/FreeBSD
#CC_CMACH = -O -DFREEBSD -DIOCTL
#CC_LMACH =
#CC = gcc
#
#-------------------------------------------------------------------------------
#
# OTHER COMPILER FLAGS (TO BE CONFIGURED BY THE USER)
#
#
# HOMEDIR uses environment variable HOME to create directory names
# (if undefined the variable SATDIR in 'sattrack.h' is used)
# (also see below!)
#
# SUNTRANSITS allows calculation of satellite transits in front of the Sun
# (this does not affect the batch mode for transits)
#
# REVERSEVIDEO allows display of reverse video and underline characters
# (if undefined, normal video is used always instead)
#
# NOBEEP allows the beep (bell) character to be suppressed
#
# VISIBPASSES predicts only those passes in the short prediction table of
# satellites that are visible. If '-DVISIBPASSES' is not
# included, also daytime passes will be predicted. The columns
# in the predictions tables are optimized for either visible
# observations or radio communications.
#
# XWINDOW For using the X Window graphics display this flag needs to be
# included. If the X Window system (X11R5 or X11R6) is not
# installed, or if the graphics display is not to be used, the
# option '-DXWINDOW' has to be deleted. If this flag is included
# the user needs to make sure that the location of the X11
# directory with the X11 header files is set properly in the
# include option (see below in the section 'COMBINED COMPILER
# AND LINKER OPTIONS').
#
#CC_CUSR = -DHOMEDIR -DREVERSEVIDEO -DSUNTRANSITS -DXWINDOW -DNOBEEP
#CC_CUSR = -DHOMEDIR -DREVERSEVIDEO -DVISIBPASSES -DXWINDOW
#CC_CUSR = -DHOMEDIR -DREVERSEVIDEO
#CC_CUSR = -DREVERSEVIDEO -DXWINDOW
#CC_CUSR = -DHOMEDIR -DREVERSEVIDEO -DXWINDOW
CC_CUSR = -DHOMEDIR -DREVERSEVIDEO -DSUNTRANSITS -DXWINDOW
#
#-------------------------------------------------------------------------------
#
# HOME DIRECTORY (TO BE CONFIGURED BY THE USER)
#
# If SatTrack is not to be installed under $HOME (which is the default), then
# HOME needs to be changed to where SatTrack is installed. The same change
# needs to made to the shell scripts 'gettle' and 'getsts' in 'SatTrack/run',
# and also to SATDIR in 'sattrack.h'. Do not forget to remove the comment sign
# in front of 'HOME' below.
#
# This is also the case if SatTrack is installed in someone's home directory,
# but should be accessible by other users as well.
#
HOME = /usr/local
#
#-------------------------------------------------------------------------------
#
# SATTRACK SUB-DIRECTORIES
#
SRC = $(HOME)/SatTrack/src
OBJ = $(HOME)/SatTrack/obj
RUN = $(HOME)/SatTrack/run
INC = $(SRC)/include
AMSAT = $(SRC)/makeamsat
FXCHK = $(SRC)/fixchecksum
MPASS = $(SRC)/makepassesx
MTLES = $(SRC)/maketles
MTLEX = $(SRC)/maketlex
SATFL = $(SRC)/satfilter
SATTR = $(SRC)/sattrack
XDEMO = $(SRC)/xdemo
#
#-------------------------------------------------------------------------------
#
# ISI CONFIGURATION (ONLY USED WITH THE ISI TELESCOPE SYSTEM)
#
# For controlling the ISI telescopes, the following lines need to be included.
# Otherwise the empty lines ISICOMM_INC, ISICOMM_OBJ and CC_CISI have to be
# activated. The flag '-DISI' defines 'ISI' which is used to include special
# code to control the telescopes via remote procedure calls.
#
# ISISOFT = /usr1/isisoft
# ISIOBJ = $(ISISOFT)/obj/Object
# ISIINC = $(ISISOFT)/src/VxSource/include
#ISICOMM_INC = $(ISIINC)/globalserver.h $(ISIINC)/trackconserver.h
#ISICOMM_OBJ = $(ISIOBJ)/globalserver_clnt.o $(ISIOBJ)/globalserver_xdr.o \
# $(ISIOBJ)/globals_c.o \
# $(ISIOBJ)/trackconserver_clnt.o $(ISIOBJ)/trackcon_c.o
#CC_CISI = -DISI
#ISICOMM_INC =
#ISICOMM_OBJ =
#CC_CISI =
#
#-------------------------------------------------------------------------------
#
# COMBINED COMPILER AND LINKER OPTIONS
#
# 'X11' is the location of the X11 sub-directory with the X11 header files.
# The installation of X11R5 or X11R6 may be different in that respect between
# machines. One of the following first three lines is used in the shown order
# on isi7, isi8, and isi9, respectively. The user may need to add another line
# and activate that for a particular machine, depending upon where X11 is
# installed.
#
# If X11R6 is installed, the linker also needs '-lICE -lSM' (activate the
# second line for 'LX11' instead of the first one).
#
# If XWINDOW is undefined above, the two empty lines for 'CC_CXINC" and
# 'CC_LXINC' have to be activated and the other two lines have to be commented
# out.
#
#X11 = /usr/include
#X11 = /usr/local/include
X11 = /usr/include/X11
#X11 = /usr/X11
#LX11 = -lX11 -lXt # X11R5
#LX11 = -L/usr/openwin/lib -lX11 -lXt
LX11 = -lX11 -lXt -lICE -lSM # X11R6
#LX11 = -L/usr/openwin/lib -lX11 -lXt -lICE -lSM
#CC_CXINC =
CC_CXINC = -I$(X11)
#CC_LXINC =
CC_LXINC = $(LX11)
CC_CINC = -I$(INC)
CC_LINC =
CC_CGEN = -c
CC_LGEN = -lm
CC_COPT = $(CC_CMACH) $(CC_CGEN) $(CC_CUSR) $(CC_CISI) $(CC_CINC)
CC_LOPT = $(CC_LGEN) $(CC_LMACH) $(CC_LINC)
#
#-------------------------------------------------------------------------------
#
all: fixchecksum makeamsat makepassesx maketles maketlex satfilter \
sattrack xdemo
clean:
cd $(OBJ) ; \
/bin/rm -f *.o ; \
cd $(RUN) ; \
/bin/rm -f fixchecksum makeamsat makepassesx maketles maketlex \
satfilter sattrack xdemo
#
#-------------------------------------------------------------------------------
#
fixchecksum_OBJ = $(OBJ)/fixchecksum.o
fixchecksum: $(RUN)/fixchecksum ;
$(RUN)/fixchecksum: $(fixchecksum_OBJ) \
$(INC)/sattrack.h $(INC)/hpterm.h $(INC)/vt100.h
@echo linking $@ for a $(CPU) ...
@$(CC) $(fixchecksum_OBJ) $(CC_LOPT) -o $@
#
#-------------------------------------------------------------------------------
#
makeamsat_OBJ = $(OBJ)/makeamsat.o
makeamsat: $(RUN)/makeamsat ;
$(RUN)/makeamsat: $(makeamsat_OBJ) \
$(INC)/sattrack.h $(INC)/hpterm.h $(INC)/vt100.h
@echo linking $@ for a $(CPU) ...
@$(CC) $(makeamsat_OBJ) $(CC_LOPT) -o $@
#
#-------------------------------------------------------------------------------
#
makepassesx_OBJ = $(OBJ)/makepassesx.o
makepassesx: $(RUN)/makepassesx ;
$(RUN)/makepassesx: $(makepassesx_OBJ) \
$(INC)/sattrack.h $(INC)/hpterm.h $(INC)/vt100.h
@echo linking $@ for a $(CPU) ...
@$(CC) $(makepassesx_OBJ) $(CC_LOPT) -o $@
#
#-------------------------------------------------------------------------------
#
maketles_OBJ = $(OBJ)/maketles.o
maketles: $(RUN)/maketles ;
$(RUN)/maketles: $(maketles_OBJ) \
$(INC)/sattrack.h $(INC)/hpterm.h $(INC)/vt100.h
@echo linking $@ for a $(CPU) ...
@$(CC) $(maketles_OBJ) $(CC_LOPT) -o $@
#
#-------------------------------------------------------------------------------
#
maketlex_OBJ = $(OBJ)/maketlex.o
maketlex: $(RUN)/maketlex ;
$(RUN)/maketlex: $(maketlex_OBJ) \
$(INC)/sattrack.h $(INC)/hpterm.h $(INC)/vt100.h
@echo linking $@ for a $(CPU) ...
@$(CC) $(maketlex_OBJ) $(CC_LOPT) -o $@
#
#-------------------------------------------------------------------------------
#
satfilter_OBJ = $(OBJ)/satfilter.o
satfilter: $(RUN)/satfilter ;
$(RUN)/satfilter: $(satfilter_OBJ) \
$(INC)/sattrack.h $(INC)/hpterm.h $(INC)/vt100.h
@echo linking $@ for a $(CPU) ...
@$(CC) $(satfilter_OBJ) $(CC_LOPT) -o $@
#
#-------------------------------------------------------------------------------
#
sattrack_OBJ = $(OBJ)/satargs.o $(OBJ)/satcalc.o $(OBJ)/satchar.o \
$(OBJ)/satcity.o $(OBJ)/satctrl.o $(OBJ)/satdisp.o $(OBJ)/satelem.o \
$(OBJ)/satgraph.o $(OBJ)/satheli.o $(OBJ)/satlice.o $(OBJ)/satmath.o \
$(OBJ)/satnute.o $(OBJ)/satprec.o $(OBJ)/satprop.o $(OBJ)/satread.o \
$(OBJ)/satrefr.o $(OBJ)/sattele.o $(OBJ)/sattest.o $(OBJ)/sattime.o \
$(OBJ)/sattrack.o $(OBJ)/satvect.o
sattrack: $(RUN)/sattrack ;
$(RUN)/sattrack: $(sattrack_OBJ) $(ISICOMM_OBJ) \
$(INC)/sattrack.h $(INC)/satglobals.h $(INC)/satglobalsp.h \
$(INC)/satglobalsx.h $(INC)/satglobalspx.h $(INC)/satprop.h \
$(INC)/satstrings.h $(INC)/hpterm.h $(INC)/vt100.h $(ISICOMM_INC)
@echo linking $@ for a $(CPU) ...
@$(CC) $(sattrack_OBJ) $(ISICOMM_OBJ) $(CC_LOPT) $(CC_LXINC) -o $@
#
#-------------------------------------------------------------------------------
#
xdemo_OBJ = $(OBJ)/xdemo.o $(OBJ)/satvect.o
xdemo: $(RUN)/xdemo ;
$(RUN)/xdemo: $(xdemo_OBJ) \
$(INC)/sattrack.h $(INC)/satstrings.h \
$(INC)/shuttle.h $(INC)/mir.h $(INC)/world.xbm
@echo linking $@ for a $(CPU) ...
@$(CC) $(xdemo_OBJ) $(CC_LOPT) $(CC_LXINC) -o $@
#
#-------------------------------------------------------------------------------
#
$(OBJ)/fixchecksum.o: $(FXCHK)/fixchecksum.c \
$(INC)/sattrack.h $(INC)/hpterm.h $(INC)/vt100.h ;
@echo compiling $@ ...
@$(CC) $(CC_COPT) $(FXCHK)/fixchecksum.c -o $@
$(OBJ)/makeamsat.o: $(AMSAT)/makeamsat.c \
$(INC)/sattrack.h $(INC)/hpterm.h $(INC)/vt100.h ;
@echo compiling $@ ...
@$(CC) $(CC_COPT) $(AMSAT)/makeamsat.c -o $@
$(OBJ)/makepassesx.o: $(MPASS)/makepassesx.c \
$(INC)/sattrack.h $(INC)/hpterm.h $(INC)/vt100.h ;
@echo compiling $@ ...
@$(CC) $(CC_COPT) $(MPASS)/makepassesx.c -o $@
$(OBJ)/maketles.o: $(MTLES)/maketles.c \
$(INC)/sattrack.h $(INC)/hpterm.h $(INC)/vt100.h ;
@echo compiling $@ ...
@$(CC) $(CC_COPT) $(MTLES)/maketles.c -o $@
$(OBJ)/maketlex.o: $(MTLEX)/maketlex.c \
$(INC)/sattrack.h $(INC)/hpterm.h $(INC)/vt100.h ;
@echo compiling $@ ...
@$(CC) $(CC_COPT) $(MTLEX)/maketlex.c -o $@
$(OBJ)/satargs.o: $(SATTR)/satargs.c \
$(INC)/sattrack.h $(INC)/satglobalsx.h ;
@echo compiling $@ ...
@$(CC) $(CC_COPT) $(SATTR)/satargs.c -o $@
$(OBJ)/satcalc.o: $(SATTR)/satcalc.c \
$(INC)/sattrack.h $(INC)/satglobalsx.h ;
@echo compiling $@ ...
@$(CC) $(CC_COPT) $(SATTR)/satcalc.c -o $@
$(OBJ)/satchar.o: $(SATTR)/satchar.c \
$(INC)/sattrack.h $(INC)/satglobalsx.h ;
@echo compiling $@ ...
@$(CC) $(CC_COPT) $(SATTR)/satchar.c -o $@
$(OBJ)/satcity.o: $(SATTR)/satcity.c \
$(INC)/sattrack.h $(INC)/satglobalsx.h ;
@echo compiling $@ ...
@$(CC) $(CC_COPT) $(SATTR)/satcity.c -o $@
$(OBJ)/satctrl.o: $(SATTR)/satctrl.c \
$(INC)/sattrack.h $(INC)/satglobalsx.h ;
@echo compiling $@ ...
@$(CC) $(CC_COPT) $(SATTR)/satctrl.c -o $@
$(OBJ)/satdisp.o: $(SATTR)/satdisp.c \
$(INC)/sattrack.h $(INC)/satglobalsx.h \
$(INC)/hpterm.h $(INC)/vt100.h ;
@echo compiling $@ ...
@$(CC) $(CC_COPT) $(SATTR)/satdisp.c -o $@
$(OBJ)/satelem.o: $(SATTR)/satelem.c \
$(INC)/sattrack.h $(INC)/satglobalsx.h \
$(INC)/hpterm.h $(INC)/vt100.h ;
@echo compiling $@ ...
@$(CC) $(CC_COPT) $(SATTR)/satelem.c -o $@
$(OBJ)/satfilter.o: $(SATFL)/satfilter.c \
$(INC)/sattrack.h $(INC)/hpterm.h $(INC)/vt100.h ;
@echo compiling $@ ...
@$(CC) $(CC_COPT) $(SATFL)/satfilter.c -o $@
$(OBJ)/satgraph.o: $(SATTR)/satgraph.c \
$(INC)/sattrack.h $(INC)/satglobalsx.h $(INC)/satstrings.h \
$(INC)/shuttle.h $(INC)/mir.h $(INC)/world.xbm ;
@echo compiling $@ ...
@$(CC) $(CC_COPT) $(SATTR)/satgraph.c $(CC_CXINC) -o $@
$(OBJ)/satheli.o: $(SATTR)/satheli.c \
$(INC)/sattrack.h $(INC)/satglobalsx.h ;
@echo compiling $@ ...
@$(CC) $(CC_COPT) $(SATTR)/satheli.c -o $@
$(OBJ)/satlice.o: $(SATTR)/satlice.c \
$(INC)/sattrack.h $(INC)/satglobalsx.h ;
@echo compiling $@ ...
@$(CC) $(CC_COPT) $(SATTR)/satlice.c -o $@
$(OBJ)/satmath.o: $(SATTR)/satmath.c \
$(INC)/sattrack.h ;
@echo compiling $@ ...
@$(CC) $(CC_COPT) $(SATTR)/satmath.c -o $@
$(OBJ)/satnute.o: $(SATTR)/satnute.c \
$(INC)/sattrack.h $(INC)/satglobalsx.h ;
@echo compiling $@ ...
@$(CC) $(CC_COPT) $(SATTR)/satnute.c -o $@
$(OBJ)/satprec.o: $(SATTR)/satprec.c \
$(INC)/sattrack.h $(INC)/satglobalsx.h ;
@echo compiling $@ ...
@$(CC) $(CC_COPT) $(SATTR)/satprec.c -o $@
$(OBJ)/satprop.o: $(SATTR)/satprop.c \
$(INC)/sattrack.h $(INC)/satglobalsx.h \
$(INC)/satglobalspx.h $(INC)/satprop.h ;
@echo compiling $@ ...
@$(CC) $(CC_COPT) $(SATTR)/satprop.c -o $@
$(OBJ)/satread.o: $(SATTR)/satread.c \
$(INC)/sattrack.h $(INC)/satglobalsx.h \
$(INC)/hpterm.h $(INC)/vt100.h ;
@echo compiling $@ ...
@$(CC) $(CC_COPT) $(SATTR)/satread.c -o $@
$(OBJ)/satrefr.o: $(SATTR)/satrefr.c \
$(INC)/sattrack.h $(INC)/satglobalsx.h ;
@echo compiling $@ ...
@$(CC) $(CC_COPT) $(SATTR)/satrefr.c -o $@
$(OBJ)/sattele.o: $(SATTR)/sattele.c \
$(INC)/sattrack.h $(INC)/satglobalsx.h $(ISICOMM_INC) ;
@echo compiling $@ ...
@$(CC) $(CC_COPT) $(SATTR)/sattele.c -o $@
$(OBJ)/sattest.o: $(SATTR)/sattest.c \
$(INC)/sattrack.h $(INC)/satglobalsx.h ;
@echo compiling $@ ...
@$(CC) $(CC_COPT) $(SATTR)/sattest.c -o $@
$(OBJ)/sattime.o: $(SATTR)/sattime.c \
$(INC)/sattrack.h $(INC)/satglobalsx.h ;
@echo compiling $@ ...
@$(CC) $(CC_COPT) $(SATTR)/sattime.c -o $@
$(OBJ)/sattrack.o: $(SATTR)/sattrack.c \
$(INC)/sattrack.h $(INC)/satglobals.h $(INC)/satglobalsp.h \
$(INC)/satglobalsx.h $(INC)/satglobalspx.h $(INC)/satprop.h \
$(INC)/satstrings.h $(INC)/hpterm.h $(INC)/vt100.h ;
@echo compiling $@ ...
@$(CC) $(CC_COPT) $(SATTR)/sattrack.c -o $@
$(OBJ)/satvect.o: $(SATTR)/satvect.c \
$(INC)/sattrack.h $(INC)/satglobalsx.h ;
@echo compiling $@ ...
@$(CC) $(CC_COPT) $(SATTR)/satvect.c -o $@
$(OBJ)/xdemo.o: $(XDEMO)/xdemo.c \
$(INC)/sattrack.h $(INC)/satstrings.h \
$(INC)/shuttle.h $(INC)/mir.h $(INC)/world.xbm ;
@echo compiling $@ ...
@$(CC) $(CC_COPT) $(XDEMO)/xdemo.c $(CC_CXINC) -o $@
#-------------------------------------------------------------------------------
Best wishes
- Karl F. Larsen, 3310 East Street, Las Cruces,NM (505) 524-3303 -