1 SOURCES = $(wildcard *.c)
2 NAMES = $(basename $(SOURCES))
3 OBJS = $(addsuffix .o,$(NAMES))
6 FRSH_INC=../../../frsh/trunk/include
7 PRTK_INC=../../../partikle/user/ulibc/include
9 # Hack to avoid missing rtl_timer.h compilation issue
12 CFLAGS+=-I$(FOSA_INC) -I$(FRSH_INC) -DRT_LINUX -I$(PRTK_INC) -I$(RTL_TIMER_INC)
14 LIBFOSA=libfosa_PARTIKLE.a
21 $(AR) -r $(LIBFOSA) $(OBJS)
24 # test_fosa_c.o: test_fosa.o
25 # ld -r -o test_fosa_c.o test_fosa.o $(LIBFOSA)
27 # test_fosa.o: test_fosa.c