blob: 276344d1c8cf6f581ae974058a7f131261a98482 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
CC ?= gcc
TARGETS = utc_ApplicationFW___dlog_print_func \
utc_ApplicationFW___dlog_vprint_func \
utc_ApplicationFW_dlog_print_func \
utc_ApplicationFW_dlog_vprint_func
PKGS = dlog
LDFLAGS = `pkg-config --libs $(PKGS)`
LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o
LDFLAGS += -L$(TET_ROOT)/lib/tet3 -ltcm_s
LDFLAGS += -L$(TET_ROOT)/lib/tet3 -lapi_s
CFLAGS = -I. `pkg-config --cflags $(PKGS)`
CFLAGS += -I$(TET_ROOT)/inc/tet3
CFLAGS += -Wall
all: $(TARGETS)
$(TARGETS): %: %.c
$(CC) -o $@ $< $(CFLAGS) $(LDFLAGS)
clean:
rm -f $(TARGETS)
|