summaryrefslogtreecommitdiff
path: root/pgm7/makefile
diff options
context:
space:
mode:
author53hornet <53hornet@gmail.com>2019-02-02 22:59:54 -0500
committer53hornet <53hornet@gmail.com>2019-02-02 22:59:54 -0500
commit379c2c17e68d5d471a6a9673b7e9cd1fb9d99bbb (patch)
treeeed499da8211a5eece757639331a2d82bce4fa4c /pgm7/makefile
downloadcsci415-379c2c17e68d5d471a6a9673b7e9cd1fb9d99bbb.tar.xz
csci415-379c2c17e68d5d471a6a9673b7e9cd1fb9d99bbb.zip
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