source: network-demos/netdemo/Makefile

Last change on this file was af6a124, checked in by Joel Sherrill <joel.sherrill@…>, on May 15, 2012 at 9:23:55 PM

network-demos - Remove CVS Ids (scripted)

  • Property mode set to 100644
File size: 1.2 KB
Line 
1SAMPLE=netdemo
2PGM=${ARCH}/$(SAMPLE).exe
3
4MANAGERS=all
5
6# C source names, if any, go here -- minus the .c
7C_PIECES= init  test
8C_FILES=$(C_PIECES:%=%.c)
9C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
10
11H_FILES=
12
13DOCTYPES=
14DOCS=$(DOCTYPES:%=$(SAMPLE).%)
15
16SRCS=$(DOCS) $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
17OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
18
19PRINT_SRCS=$(DOCS)
20
21PGM=${ARCH}/$(SAMPLE).exe
22
23include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
24include $(RTEMS_CUSTOM)
25include $(PROJECT_ROOT)/make/leaf.cfg
26
27#
28# (OPTIONAL) Add local stuff here using +=
29#
30
31override DEFINES  +=
32CPPFLAGS +=
33CFLAGS   +=
34CFLAGS_LD += 
35# CFLAGS_LD += -Wl,--defsym -Wl,HeapSize=0xC0000
36CFLAGS_OPTIMIZE_V   +=
37CFLAGS_DEBUG_V   += -v -qrtems_debug
38
39LD_PATHS  +=
40LD_LIBS   +=
41
42#
43# Add your list of files to delete here.  The config files
44#  already know how to delete some stuff, so you may want
45#  to just run 'make clean' first to see what gets missed.
46#  'make clobber' already includes 'make clean'
47#
48
49CLEAN_ADDITIONS +=
50CLOBBER_ADDITIONS +=
51
52all:    ${ARCH} $(SRCS) $(PGM)
53
54${PGM}: $(OBJS) $(LINK_FILES)
55        $(make-exe)
56
57# Install the program(s), appending _g or _p as appropriate.
58# for include files, just use $(INSTALL)
59install:  all
60        $(INSTALL_VARIANT) -m 555 ${PGM} ${PROJECT_RELEASE}/tests
Note: See TracBrowser for help on using the repository browser.