summaryrefslogtreecommitdiff
path: root/pgm7/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pgm7/makefile')
-rw-r--r--pgm7/makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/pgm7/makefile b/pgm7/makefile
new file mode 100644
index 0000000..3a3a73c
--- /dev/null
+++ b/pgm7/makefile
@@ -0,0 +1,21 @@
+CC=gcc
+CFLAGS=-g -Wall
+
+all: TTT ttt
+
+TTT: TTT.o msg.o
+ gcc -o TTT TTT.o msg.o
+
+ttt: ttt.o msg.o child.o
+ gcc -o ttt ttt.o msg.o child.o
+
+msg.o: msg.c common.h
+
+TTT.o: TTT.c common.h
+
+ttt.o: ttt.c common.h
+
+child.o: child.c child.h
+
+clean:
+ rm -f *.o ttt TTT serverloc