diff options
Diffstat (limited to 'ada_from_c_task/Makefile')
-rw-r--r-- | ada_from_c_task/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/ada_from_c_task/Makefile b/ada_from_c_task/Makefile new file mode 100644 index 0000000..c6fb340 --- /dev/null +++ b/ada_from_c_task/Makefile @@ -0,0 +1,35 @@ +# +# Makefile for Ada Dump URL example +# +# See README.Makefiles in the main ada-examples directory. +# + +PROGRAM=ada_from_c + +include $(RTEMS_MAKEFILE_PATH)/Makefile.inc +include $(RTEMS_CUSTOM) +include $(PROJECT_ROOT)/make/leaf.cfg + +# stack size for the first Ada thread +CFLAGS +=-DGNAT_MAIN_STACKSPACE=100 + +# initialize the network stack -- assumes existence of networkconfig.h +# CFLAGS +=-DMAIN_USE_NETWORKING=1 + +# Should we prompt for command line arguments? +# DEFINES +=-DMAIN_USE_REQUIRES_COMMAND_LINE + +# Do we have a C initialization helper? +DEFINES +=-DMAIN_CALL_C_INITIALIZE_APPLICATION + +# Do we have extra configuration +DEFINES +=-DHAS_EXTRA_CONFIGURATION + +# If you want to hard-code the command line, define this to a string +# DEFINES += -DMAIN_COMMAND_LINE="ARGS" + +EXTRA_OBJS=app.o + +include ../Makefile.shared + +app.o: app.c |