Changeset 456 for cpp/frams/Makefile-SDK


Ignore:
Timestamp:
01/28/16 23:28:49 (5 years ago)
Author:
sz
Message:

added libFramsticksSDK.a building rule with the following changes:

  • using $(SDK_LIB_OBJS), instead of all sdk test objs
  • only use -fPIC when building lib
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/Makefile-SDK

    r365 r456  
    1414CXXFLAGS= -I$(CURDIR) -std=gnu++11 $(SDK_BUILD_CONFIG) $(CXXWARNINGS) -g
    1515
     16AR=ar
     17ARFLAGS=rs
     18FRAMSTICKS_SDK_LIB=libFramsticksSDK.a
     19$(FRAMSTICKS_SDK_LIB): CXXFLAGS+= -fPIC
     20
    1621#############################################
     22
     23lib: $(FRAMSTICKS_SDK_LIB)
     24
     25$(FRAMSTICKS_SDK_LIB): $(SDK_LIB_OBJS)
     26        $(AR) $(ARFLAGS) $(FRAMSTICKS_SDK_LIB) $(SDK_LIB_OBJS)
    1727
    1828genomanipulation: $(GENOMANIPULATION_OBJS)
     
    8696
    8797full_clean: clean
    88         rm -f $(SDK_TESTS)
     98        rm -f $(SDK_TESTS) $(FRAMSTICKS_SDK_LIB)
Note: See TracChangeset for help on using the changeset viewer.