summaryrefslogtreecommitdiff
path: root/pgm4/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pgm4/makefile')
-rw-r--r--pgm4/makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/pgm4/makefile b/pgm4/makefile
new file mode 100644
index 0000000..645618f
--- /dev/null
+++ b/pgm4/makefile
@@ -0,0 +1,19 @@
+all: tttmsg.o ttt.o TTT.o ttt TTT
+
+tttmsg.o: tttmsg.c
+ gcc -Wall -g -c tttmsg.c
+
+ttt.o: ttt.c
+ gcc -Wall -g -c ttt.c
+
+TTT.o: TTT.c
+ gcc -Wall -g -c TTT.c
+
+ttt: ttt.c
+ gcc -Wall -o ttt ttt.o tttmsg.o
+
+TTT: TTT.c
+ gcc -Wall -o TTT TTT.o tttmsg.o
+
+clean:
+ rm -f ttt TTT tttmsg.o ttt.o TTT.o