source: network-demos/ntp/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=ntpdemo
2PGM=${ARCH}/$(SAMPLE).exe
3
4MANAGERS=io event semaphore
5
6# C source names, if any, go here -- minus the .c
7C_PIECES= init
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 += -Wl,--defsym -Wl,HeapSize=0xC0000
35CFLAGS_OPTIMIZE_V   +=
36CFLAGS_DEBUG_V   += -v -qrtems_debug
37
38LD_PATHS  +=
39LD_LIBS   +=
40
41#
42# Add your list of files to delete here.  The config files
43#  already know how to delete some stuff, so you may want
44#  to just run 'make clean' first to see what gets missed.
45#  'make clobber' already includes 'make clean'
46#
47
48CLEAN_ADDITIONS +=
49CLOBBER_ADDITIONS +=
50
51all:    ${ARCH} $(SRCS) $(PGM)
52
53${PGM}: $(OBJS) $(LINK_FILES)
54        $(make-exe)
55
56# Install the program(s), appending _g or _p as appropriate.
57# for include files, just use $(INSTALL)
58install:  all
59        $(INSTALL_VARIANT) -m 555 ${PGM} ${PROJECT_RELEASE}/tests
Note: See TracBrowser for help on using the repository browser.