From 379c2c17e68d5d471a6a9673b7e9cd1fb9d99bbb Mon Sep 17 00:00:00 2001 From: 53hornet <53hornet@gmail.com> Date: Sat, 2 Feb 2019 22:59:54 -0500 Subject: Init. --- pgm7/makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pgm7/makefile (limited to 'pgm7/makefile') 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 -- cgit v1.2.3