projects
/
gapil.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Aggiunti suid e sgid
[gapil.git]
/
sources
/
Makefile
diff --git
a/sources/Makefile
b/sources/Makefile
index 879aa31190b5367b6aab580c101792b9ef259ac0..3ff7b74e73307b80d7d51149d743a05f316659a6 100644
(file)
--- a/
sources/Makefile
+++ b/
sources/Makefile
@@
-3,11
+3,13
@@
#
# C flags
CC=gcc
#
# C flags
CC=gcc
-CFLAGS= -Wall
+CFLAGS= -Wall
-g
CFLADJ=-c
OBJ = SockRead.o SockWrite.o
CFLADJ=-c
OBJ = SockRead.o SockWrite.o
+echo: SimpleEchoTCPClient.c $(OBJ)
+ $(CC) $(CFLAGS) SimpleEchoTCPClient.c $(OBJ) -o echo
echod: SimpleEchoTCPServer.c $(OBJ)
$(CC) $(CFLAGS) SimpleEchoTCPServer.c $(OBJ) -o echod
echod: SimpleEchoTCPServer.c $(OBJ)
$(CC) $(CFLAGS) SimpleEchoTCPServer.c $(OBJ) -o echod
@@
-27,6
+29,7
@@
$(OBJ): wrappers.h
.PHONY : clean
clean:
.PHONY : clean
clean:
+ rm -f daytime iterdaytimed daytimed echod echo
rm -f *~
rm -f *.o
rm -f daytime
rm -f *~
rm -f *.o
rm -f daytime