IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15585


Ignore:
Timestamp:
Nov 11, 2007, 11:46:30 AM (18 years ago)
Author:
eugene
Message:

adding deps for external (ohana) libs and includes

File:
1 edited

Legend:

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

    r15487 r15585  
    1111INC     =       $(HOME)/include
    1212# include ../../Makefile.Common
     13
     14DVO_LIBS  = $(DESTLIB)/libdvo.a $(DESTLIB)/libFITS.a $(DESTLIB)/libohana.a
     15DVO_INCS  = $(DESTINC)/dvo.h $(DESTINC)/gfitsio.h $(DESTINC)/ohana.h $(DESTINC)/autocode.h
    1316
    1417PROGRAMS = gconfig fhead ftable fields list_astro glockfile \
     
    2932# we use a special set of rules in this directory which expect this simplification
    3033
    31 %.$(ARCH).o : %.c
     34%.$(ARCH).o : %.c $(DVO_INCS)
    3235        $(CC) $(FULL_CFLAGS) $(FULL_CPPFLAGS) -c $< -o $@
    3336        @echo "compiled $<"
    3437        @echo ""
    3538
    36 $(BIN)/%.$(ARCH) : $(SRC)/%.$(ARCH).o
     39$(BIN)/%.$(ARCH) : $(SRC)/%.$(ARCH).o $(DVO_LIBS)
    3740        @if [ ! -d $(BIN) ]; then mkdir -p $(BIN); fi
    3841        $(CC) $(FULL_CFLAGS) -o $@ $^ $(FULL_LDFLAGS)
     
    4043        @echo ""
    4144
    42 $(DESTBIN)/%: $(BIN)/%.$(ARCH)
     45$(DESTBIN)/%: $(BIN)/%.$(ARCH)  $(DVO_LIBS)
    4346        @if [ ! -d $(DESTBIN) ]; then mkdir -p $(DESTBIN); fi
    4447        rm -f $(DESTBIN)/$*
Note: See TracChangeset for help on using the changeset viewer.