CC ?= gcc TARGETS = 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)