summaryrefslogblamecommitdiffstats
path: root/ada_from_c_task/Makefile
blob: 14916c345345310497457611606d4f98f816eae0 (plain) (tree)
1
2
3
4
5
6
7




                                                           

       


















                                                                      
                                 









                                                                    
#
#  Makefile for Ada Dump URL example
#
#  See README.Makefiles in the main ada-examples directory.
#
#  $Id$
#

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