dashboard
repositories
filestore
activity
search
login
rht
/
echo-server
very simple TCP echo server
summary
reflog
commits
tree
tickets
docs
forks
compare
blame
|
history
|
raw
first public version
Olaf Bohlen
2019-10-29
caef9ae333f640b4647fe5ebe253a5d4ae0213a5
[rht/echo-server.git]
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
CC=gcc
#CFLAGS=-ansi -pedantic -Wall -lnsl -lsocket
all: server
server:
${CC} ${CFLAGS} -o server tcp_server.c
install:
mkdir -p /opt/app-root/bin
cp server /opt/app-root/bin
chmod 755 /opt/app-root/bin/server