|
|
@@ -4,7 +4,7 @@
|
|
|
#
|
|
|
|
|
|
# C compiler to use (Compiler path can be changed by the user)
|
|
|
-CCFLAGS = -g
|
|
|
+CCFLAGS = -g -D LE -m32
|
|
|
PCA = cc $(CCFLAGS) -c -D xsun=1 -I../include/
|
|
|
# Specify -DLE for Little-endian architectures (Big-endian is default)!
|
|
|
# Specify -Dbbs for BBS-version of scaner (LaTeX version is default)!
|
|
|
@@ -13,7 +13,7 @@ LIBS = -lm
|
|
|
# This is for sin, cos, sqrt etc.
|
|
|
|
|
|
# Other things are usually not changed by the user
|
|
|
-.INIT: check$(rig)
|
|
|
+.INIT: check$(rig)
|
|
|
|
|
|
# -------------------------------------------------
|
|
|
# MACRO DEFINITIONS
|
|
|
@@ -26,7 +26,7 @@ RCF_SRC = defsun3.o ley_.o nef2.o ou2.o sevice.o
|
|
|
ICF_SRC = cim.o defsun3.o erm.o ic.o ley_.o scan.o scanmif.o usemod.o nef2.o ou2.o sevice.o
|
|
|
|
|
|
|
|
|
-# Object files for "rc -c" (library)
|
|
|
+# Object files for "rc -c" (library)
|
|
|
CCF_SRC = defsun3.o ley_.o scan.o scanmif.o usemod.o c1.o c2.o c3.o c4.o nef2.o ou2.o sevice.o
|
|
|
|
|
|
|
|
|
@@ -50,16 +50,16 @@ bins: bin ../bin/rc ../bin/ic ../bin/v
|
|
|
bin:
|
|
|
-mkdir ../bin
|
|
|
../bin/rc:$(RCF_SRC) rc_.o
|
|
|
- cc $(CCFLAGS) -o ../bin/rc rc_.o $(RCF_SRC)
|
|
|
+ cc $(CCFLAGS) -o ../bin/rc rc_.o $(RCF_SRC)
|
|
|
|
|
|
../bin/ic:$(ICF_SRC)
|
|
|
cc $(CCFLAGS) -o ../bin/ic $(ICF_SRC) $(LIBS)
|
|
|
|
|
|
|
|
|
-../bin/v:$(RCF_SRC) v.o
|
|
|
+../bin/v:$(RCF_SRC) v.o
|
|
|
cc $(CCFLAGS) -o ../bin/v v.o $(RCF_SRC) $(LIBS)
|
|
|
|
|
|
-../lib/riglib.a:$(CCF_SRC)
|
|
|
+../lib/riglib.a:$(CCF_SRC)
|
|
|
@echo '*Starting creating library'
|
|
|
-mkdir ../lib
|
|
|
-rm -f ../lib/riglib.a
|
|
|
@@ -67,7 +67,7 @@ bin:
|
|
|
-ranlib ../lib/riglib.a
|
|
|
@echo '*Library created'
|
|
|
|
|
|
-../bin/anrig:$(INCLIB_SRC) ../lib/riglib.a
|
|
|
+../bin/anrig:$(INCLIB_SRC) ../lib/riglib.a
|
|
|
cc $(CCFLAGS) -w \
|
|
|
-Ianrig/ -I../include/\
|
|
|
anrig/xcrg.c anrig/xcrg_0.c\
|
|
|
@@ -102,7 +102,7 @@ bin:
|
|
|
|
|
|
../bin/rig_lint: ../lint/rig_lint.rig ../bin/rc ../lib/riglib.a ../bin/anrig ../bin/genrigd
|
|
|
(cd ../lint;../bin/rc rig_lint -c -P '-O';cd ..)
|
|
|
- -mv ../lint/rig_lint ../bin/
|
|
|
+ -mv ../lint/rig_lint ../bin/
|
|
|
|
|
|
test: ../test/rigcrf.rig ../bin/rc ../lib/riglib.a ../bin/anrig ../bin/genrigd
|
|
|
(cd ../test;\
|
|
|
@@ -151,10 +151,10 @@ check$(rig):
|
|
|
@echo VARIABLE rig have been set to $(rig)
|
|
|
@echo ---------------------------------------
|
|
|
##----------------------------------------
|
|
|
-# Prepare distribution
|
|
|
+# Prepare distribution
|
|
|
mkdist$(RFILE)$(RDIR):
|
|
|
@echo '*** to prepare for distribution write make mkdist RFILE=fff RDIR=/u/vaden/xyz/xyz/'
|
|
|
-mkdist:
|
|
|
+mkdist:
|
|
|
(cd $(RDIR);\
|
|
|
$(rig)/rc $(RFILE);\
|
|
|
$(rig)/anrig;\
|