# -*- makefile -*-
-bin_PROGRAMS = bth_comp2
-#bth_comp1
+bin_PROGRAMS = mirosot
+mirosot_SOURCES = mirosot_main.c cmd_pxmc.c cmd_bth.c
-#bth_comp1_SOURCES = main.c bth_main.c bth_command.c bth_event_acc.c bth_error.c bth_cmd_complete_ev.c l2cap.c bth_inface.c h2638_pkt_controll.c
-#bth_comp1_LIBS = boot_fn arch_drivers excptvec misc pxmc m sci_channels
-#bth_comp1_MOREOBJS = $(USER_LIB_DIR)/system_stub.o
-
-bth_comp2_SOURCES = main.c
-bth_comp2_LIBS = boot_fn arch_drivers excptvec misc pxmc m sci_channels bluetooth
-bth_comp2_MOREOBJS = $(USER_LIB_DIR)/system_stub.o
-
-#lib_LIBRARIES = bluetooth
-
-#bluetooth_SOURCES = bth_command.c bth_event_acc.c bth_error.c bth_cmd_complete_ev.c l2cap.c bth_inface.c bth_main.c h2638_pkt_controll.c
-#include_HEADERS = bth_inface.h bth_fce_out.h bth_h8s2638.h
-
+mirosot_LIBS = boot_fn arch_drivers excptvec misc pxmc m sci_channels mirobt
+mirosot_MOREOBJS = $(USER_LIB_DIR)/system_stub.o