source: network-demos/socket/pgmHost/Makefile @ 062f725

4.11netdemos-4-5-branchnetwork-demos-4-10-branchnetwork-demos-4-6-branchnetwork-demos-4-7-branchnetwork-demos-4-8-branchnetwork-demos-4-9-branchrtems-4-5-branch
Last change on this file since 062f725 was 062f725, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 11, 1998 at 2:36:23 PM

new file

  • Property mode set to 100644
File size: 1.2 KB
Line 
1#
2#  $Id$
3#
4
5# we use host compiler in this directory
6USE_HOST_COMPILER=yes
7
8# C source names, if any, go here -- minus the .c
9C_PIECES=buffer serverTcp clientTcp serverUdp clientUdp
10C_FILES=$(C_PIECES:%=%.c)
11C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
12
13H_FILES=
14
15SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
16OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
17
18include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
19include $(RTEMS_CUSTOM)
20include $(PROJECT_ROOT)/make/leaf.cfg
21
22PGMS=$(ARCH)/serverTcp$(EXEEXT) $(ARCH)/clientTcp$(EXEEXT) \
23        $(ARCH)/serverUdp$(EXEEXT) $(ARCH)/clientUdp$(EXEEXT)
24
25#
26# (OPTIONAL) Add local stuff here using +=
27#
28
29DEFINES  +=
30CPPFLAGS += -I..
31CFLAGS   +=
32
33LD_PATHS  +=
34LD_LIBS   += $(ARCH)/buffer.o
35LDFLAGS   +=
36
37#
38# Add your list of files to delete here.  The config files
39#  already know how to delete some stuff, so you may want
40#  to just run 'make clean' first to see what gets missed.
41#  'make clobber' already includes 'make clean'
42#
43
44CLEAN_ADDITIONS += $(HOST_ARCH)
45CLOBBER_ADDITIONS += buffer.c
46
47all:    $(ARCH) buffer.c $(OBJS) $(SRCS) $(PGMS)
48        $(INSTALL_VARIANT) -m 555 ${PGMS} ${PROJECT_RELEASE}/tests
49        $(INSTALL_VARIANT) -m 555 ${PGMS} ${PROJECT_RELEASE}/samples
50
51buffer.c:
52        $(LN) ../buffer.c .
Note: See TracBrowser for help on using the repository browser.