LIB = libprof.a OBJS = gmon.o profiler.o memfunc.o # Don't profile the profiling code, because that way lies madness (and recursion). CFLAGS := $(subst -pg,,$(CFLAGS)) all: $(LIB) # But do profile the mem functions memfunc.o: memfunc.c $(CC) $(CFLAGS) -pg -c -o $@ $< %.o : %.c $(CC) $(CFLAGS) -c -o $@ $< %.o : %.S $(CC) $(CFLAGS) -c -o $@ $< $(LIB): $(OBJS) $(AR) -r $@ $^ clean: rm -f $(OBJS) $(LIB) ets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hash_ex.c?h=fmc_clk' type='application/atom+xml'/>
aboutsummaryrefslogblamecommitdiff
path: root/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/stm32f4xx_hal_hash_ex.c
blob: 156b7443815f747466a0ae9a4e4b1b9591a42e1b (plain) (tree)
1
2
3
4
5
6
7
8