From 7e2dbcde8d5884138eae97a9f8a6fea47044da8b Mon Sep 17 00:00:00 2001 From: cvs Date: Wed, 13 Sep 2000 15:04:11 +0000 Subject: [PATCH] Move location of binary file --- Makefile | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index c25168cf..2dafe31a 100644 --- a/Makefile +++ b/Makefile @@ -55,7 +55,7 @@ VELOOBJ = velo.o velosim.o velodorn.o velodornier.o #----- comment or uncomment the following according to operating system #------------- for Digital Unix -#BINTARGET=$(HOME)/bin/sics +#BINTARGET=$(HOME)/bin/osf.axp #HDFROOT=/data/koenneck #CC=cc #EXTRA= @@ -74,7 +74,7 @@ VELOOBJ = velo.o velosim.o velodorn.o velodornier.o # -lmfhdf -ldf -ljpeg -lz -lm #---------- for linux -BINTARGET=../bin +BINTARGET=$(HOME)/bin/linux.i686 HDFROOT=/usr/local CC=gcc CFLAGS = -I$(HDFROOT)/include -Ihardsup -fwritable-strings \ @@ -87,17 +87,18 @@ EXTRA=nintf.o .c.o: $(CC) $(CFLAGS) $*.c -all: server +all: $(BINTARGET)/SICServer -server: $(SOBJ) $(MOTOROBJ) $(COUNTEROBJ) $(DMCOBJ) $(VELOOBJ) $(DIFIL) \ - $(EXTRA) - $(CC) -g -o SICServer $(SOBJ) $(MOTOROBJ) $(COUNTEROBJ) $(DMCOBJ) \ - $(VELOOBJ) $(DIFOBJ) $(EXTRA) $(LIBS) - cp SICServer $(BINTARGET) +$(BINTARGET)/SICServer: $(SOBJ) $(MOTOROBJ) \ + $(COUNTEROBJ) $(DMCOBJ) $(VELOOBJ) $(DIFIL) \ + $(EXTRA) + $(CC) -g -o $(BINTARGET)/SICServer \ + $(SOBJ) $(MOTOROBJ) $(COUNTEROBJ) $(DMCOBJ) \ + $(VELOOBJ) $(DIFOBJ) $(EXTRA) $(LIBS) clean: - rm -f *.o - - rm -f SICServer + - rm -f $(BINTARGET)/SICServer Dbg.o: Dbg.c cc -g -I/data/koenneck/include -c Dbg.c