include ../../Config.mk

CFLAGS = $(FW_CFLAGS) -g
LDFLAGS = $(FW_LDFLAGS)

TARGETS=lpc_test esb2_tpt_test tco_test
#gpio_test
OBJECTS=lpc_test.o esb2_tpt_test.o tco_test.o
#gpio_test.o

all: $(TARGETS)

$(OBJECTS): %.o: %.c
	$(CC) -c $(CFLAGS) $< -o $@

clean:
	rm -f $(TARGETS) *.o

$(OBJECTS): Makefile

install: all
	install -m 755 $(TARGETS) $(DESTDIR)/root/ 
