source: ada-examples/ada_from_c_task/Makefile @ dabca92

ada-examples-4-10-branch
Last change on this file since dabca92 was 9253a0c, checked in by Joel Sherrill <joel.sherrill@…>, on 09/15/09 at 21:11:39

2009-09-15 Joel Sherrill <joel.sherrill@…>

  • Makefile: New example. Runs on qemu.
  • Property mode set to 100644
File size: 834 bytes
Line 
1#
2#  Makefile for Ada Dump URL example
3#
4#  See README.Makefiles in the main ada-examples directory.
5#
6
7PROGRAM=ada_from_c
8
9include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
10include $(RTEMS_CUSTOM)
11include $(PROJECT_ROOT)/make/leaf.cfg
12
13# stack size for the first Ada thread
14CFLAGS +=-DGNAT_MAIN_STACKSPACE=100
15
16# initialize the network stack -- assumes existence of networkconfig.h
17# CFLAGS +=-DMAIN_USE_NETWORKING=1
18
19# Should we prompt for command line arguments?
20# DEFINES +=-DMAIN_USE_REQUIRES_COMMAND_LINE
21
22# Do we have a C initialization helper?
23DEFINES +=-DMAIN_CALL_C_INITIALIZE_APPLICATION
24
25# Do we have extra configuration?
26DEFINES +=-DHAS_EXTRA_CONFIGURATION
27
28# If you want to hard-code the command line, define this to a string
29# DEFINES += -DMAIN_COMMAND_LINE="ARGS"
30
31EXTRA_OBJS=app.o
32
33include ../Makefile.shared
34
35app.o: app.c
Note: See TracBrowser for help on using the repository browser.