Debian Codegraph @

COSMIC/EXAMPLES/Makefile

raw
1 # Makefile for the Simple Socket Library's EXAMPLES
2 # Note: not all the programs may build on your system,
3 # (the oob*.c ones in particular)
4
5 # EXES: list of executables to be made
6 # Note: not all of these may compile correctly,
7 # ie. sktsig/oobrecv/oobsend, which have BSD-Unix dependencies
8 #
9 # Cygwin, for example, will have problems with sigcontext structures
10 # which affects oobrecv and sktsig.
11 # ------------------------------------------------------------------------
12 EXES=smsrvr smclient multiskt sktpoll talksrvr talkclient sktsig oobrecv oobsend
13
14 # to convert C into executables
15 .c:
16 $(CC) $(CFLAGS) $(LDFLAGS) $< $(LOADLIBES) -o $@
17
18 # make all executables
19 all : $(EXES)
20
21 clean :
22 /bin/rm -f *.o *.bak *.err $(EXES)