Revision 1db54e20 common.mak

View differences:

common.mak
5 5
SRC_DIR = $(SRC_PATH)/lib$(NAME)
6 6
VPATH = $(SRC_DIR)
7 7

  
8
ifeq ($(TARGET_GPROF),yes)
9
CFLAGS+=-p
10
LDFLAGS+=-p
11
endif
12

  
13 8
SRCS := $(OBJS:.o=.c) $(ASM_OBJS:.o=.S) $(CPPOBJS:.o=.cpp)
14 9
OBJS := $(OBJS) $(ASM_OBJS) $(CPPOBJS)
15 10
STATIC_OBJS := $(OBJS) $(STATIC_OBJS)

Also available in: Unified diff