+##############################################################################
+#
+# Makefile - ID_CPU1 makefile for drivers
+#
+##############################################################################
+
+ifndef TOP
+TOP = ..
+CONFIG = $(TOP)/config
+endif
+
+include $(CONFIG)
+
+######################## Additional Flags section ############################
+
+# Directories list for header files
+INCLUDEDIRS +=
+# Defines for preprocessor
+DEFINES +=
+
+# Compilation flags for C files OTHER than include directories
+# Some drivers use outb macro, requires -O optimization
+CFLAGS += -O
+# Preprocessor flags OTHER than defines
+CPPFLAGS +=
+# Linking flags
+LDFLAGS +=
+
+############################# targets section ################################
+
+# If you want to create a library with the objects files, define the name here
+LIBNAME = libgdbstub.a
+LIBNAMESO = libgdbstub.so
+
+# List of objects to compile
+
+OBJS += gdb-stub.o h8s-2633.o h8s-2633-sci.o
+
+ASMOBJS += h8s-2633-asm.o
+
+######################### Makefile.rules section #############################
+
+include $(TOP)/Makefile.rules
+
+######################## Tools targets section ###############################
+