IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 26, 2004, 10:47:02 PM (22 years ago)
Author:
eugene
Message:

fixed makefiles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/gastro/Makefile

    r2435 r2510  
    1515
    1616
    17 INCS    =       -I$(INC) -I$(LINC) -I$(XINC) -I$(LINC)/$(ARCH)
    18 LIBS    =       -L$(LLIB) -lFITS -lsocket -lnsl -lohana -lm
     17INCS    =       -I$(INC) -I$(LINC) -I$(XINC)
     18LIBS    =       -L$(LLIB) -lFITS -lohana -lm -lsocket -lnsl
    1919CFLAGS  =       -o $*.$(ARCH).o $(INCS)
    2020CCFLAGS =       $(INCS) $(LIBS)
     
    3737
    3838$(BIN)/extract: $(EOBJ)
     39        @if [ ! -d $(BIN) ]; then mkdir -p $(BIN); fi
    3940        $(CC) $(EOBJ) -o $(BIN)/extract $(CCFLAGS)
    4041
    4142install.extract:
     43        @if [ ! -d $(BIN) ]; then mkdir -p $(BIN); fi
    4244        rm -f $(DESTBIN)/extract
    4345        cp $(BIN)/extract   $(DESTBIN)/
     
    5355
    5456$(BIN)/simulate: $(SOBJ)
     57        @if [ ! -d $(BIN) ]; then mkdir -p $(BIN); fi
    5558        $(CC) $(SOBJ) -o $(BIN)/simulate.$(ARCH) $(CCFLAGS)
    5659
    5760install.simulate:
     61        @if [ ! -d $(BIN) ]; then mkdir -p $(BIN); fi
    5862        rm -f $(DESTBIN)/simulate
    5963        cp $(BIN)/simulate.$(ARCH) $(DESTBIN)/simulate
     
    8084
    8185$(BIN)/gastro.$(ARCH): $(GOBJ)
     86        @if [ ! -d $(BIN) ]; then mkdir -p $(BIN); fi
    8287        $(CC) $(GOBJ) -o $(BIN)/gastro.$(ARCH) $(CCFLAGS)
    8388
     
    8590
    8691$(DESTBIN)/gastro: $(BIN)/gastro.$(ARCH)
     92        @if [ ! -d $(BIN) ]; then mkdir -p $(BIN); fi
    8793        rm -f $(DESTBIN)/gastro
    8894        cp $(BIN)/gastro.$(ARCH)   $(DESTBIN)/gastro
     
    103109
    104110$(BIN)/gscdump.$(ARCH): $(DOBJ)
     111        @if [ ! -d $(BIN) ]; then mkdir -p $(BIN); fi
    105112        $(CC) $(DOBJ) -o $(BIN)/gscdump.$(ARCH) $(CCFLAGS)
    106113
     
    108115
    109116$(DESTBIN)/gscdump: $(BIN)/gscdump.$(ARCH)
     117        @if [ ! -d $(BIN) ]; then mkdir -p $(BIN); fi
    110118        rm -f $(DESTBIN)/gscdump
    111119        cp $(BIN)/gscdump.$(ARCH)   $(DESTBIN)/gscdump
     
    122130
    123131$(BIN)/astro: $(AOBJ)
     132        @if [ ! -d $(BIN) ]; then mkdir -p $(BIN); fi
    124133        $(CC) $(AOBJ) -o $(BIN)/astro $(CCFLAGS)
    125134
     
    135144
    136145$(BIN)/rastro: $(ROBJ)
     146        @if [ ! -d $(BIN) ]; then mkdir -p $(BIN); fi
    137147        $(CC) $(ROBJ) -o $(BIN)/rastro $(CCFLAGS)
    138148
Note: See TracChangeset for help on using the changeset viewer.