IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 11, 2007, 4:51:16 PM (20 years ago)
Author:
eugene
Message:

fixed lib and inc dependencies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/mana/Makefile

    r10509 r11054  
    11include ../../../Configure
     2default: mana
    23
    34HOME    =       $(ROOT)/src/opihi
     5SRC     =       $(HOME)/mana
    46BIN     =       $(HOME)/bin
    57LIB     =       $(HOME)/lib
    68INC     =       $(HOME)/include
    7 SDIR    =       $(HOME)/mana
    89HELP    =       $(DESTHELP)/mana
    910
     
    1516# mana user commands and support functions ########################
    1617
    17 manafuncs = \
    18 $(SDIR)/init.$(ARCH).o \
    19 $(SDIR)/mana.$(ARCH).o \
    20 $(SDIR)/findrowpeaks.$(ARCH).o
     18funcs = \
     19$(SRC)/init.$(ARCH).o \
     20$(SRC)/mana.$(ARCH).o \
     21$(SRC)/findrowpeaks.$(ARCH).o
    2122
    22 manacmds = \
    23 $(SDIR)/rawstars.$(ARCH).o \
    24 $(SDIR)/fitcontour.$(ARCH).o \
    25 $(SDIR)/starcontour.$(ARCH).o \
    26 $(SDIR)/version.$(ARCH).o \
    27 $(SDIR)/findpeaks.$(ARCH).o
    28 
    29 mana = $(manacmds) $(manafuncs)
     23cmds = \
     24$(SRC)/rawstars.$(ARCH).o \
     25$(SRC)/fitcontour.$(ARCH).o \
     26$(SRC)/starcontour.$(ARCH).o \
     27$(SRC)/version.$(ARCH).o \
     28$(SRC)/findpeaks.$(ARCH).o
    3029
    3130libs = \
     
    3635$(DESTLIB)/libdatacmd.a
    3736
    38 mana: $(BIN)/mana.$(ARCH)
    39 
    40 ### fix this: this is adding libdatacmd.a, etc, to the compile line
    41 ### (because $(libs) is a dep and included by the Makefile.Common rul
    42 ### (BUT without this line, mana does not get compiled if changes happen
    43 ### to libdatacmd.a
    44 $(BIN)/mana.$(ARCH) : $(libs)
    45 $(BIN)/mana.$(ARCH) : $(mana)
     37mana: $(BIN)/mana.$(ARCH)
     38$(SRC)/mana.$(ARCH).o : $(libs)
     39$(BIN)/mana.$(ARCH)   : $(cmds) $(funcs)
    4640
    4741install: $(DESTBIN)/mana help
Note: See TracChangeset for help on using the changeset viewer.