IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 19, 2007, 12:10:28 PM (19 years ago)
Author:
eugene
Message:

added user-supplied CC, CFLAGS, etc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.data/Makefile

    r11084 r11891  
     1default: libdatacmd
     2
    13include ../../../Configure
    2 
    34HOME    =       $(ROOT)/src/opihi
    45SRC     =       $(HOME)/cmd.data
     
    78INC     =       $(HOME)/include
    89DATA    =       $(DESTDATA)/mana
     10include ../Makefile.Common
     11
     12# programs may add their own internal requirements here
     13FULL_CFLAGS   = $(BASE_CFLAGS) -fPIC
     14FULL_CPPFLAGS = $(BASE_CPPFLAGS)
     15FULL_LDFLAGS  = $(BASE_LDFLAGS)
    916
    1017# data user commands ########################
     
    132139$(INC)/display.h
    133140
    134 libdatacmd: $(DESTLIB)/libdatacmd.a
     141$(srcs): $(incs)
     142
     143$(LIB)/libdatacmd.$(ARCH).a: $(srcs)
     144$(LIB)/libdatacmd.$(ARCH).so: $(srcs)
     145
    135146$(DESTLIB)/libdatacmd.a: $(LIB)/libdatacmd.$(ARCH).a
    136 $(LIB)/libdatacmd.$(ARCH).a: $(srcs)
    137 $(srcs): $(incs)
     147$(DESTLIB)/libdatacmd.so: $(LIB)/libdatacmd.$(ARCH).so
     148
     149libdatacmd: $(DESTLIB)/libdatacmd.a  $(DESTLIB)/libdatacmd.so
    138150
    139151uninstall:
    140152        rm -f $(DESTLIB)/libdatacmd.a
    141 
    142 include ../Makefile.Common
     153        rm -f $(DESTLIB)/libdatacmd.so
Note: See TracChangeset for help on using the changeset viewer.