summaryrefslogtreecommitdiff
path: root/pgm4/inet_dgrams.d/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 /pgm4/inet_dgrams.d/Makefile
downloadcsci415-379c2c17e68d5d471a6a9673b7e9cd1fb9d99bbb.tar.xz
csci415-379c2c17e68d5d471a6a9673b7e9cd1fb9d99bbb.zip
Diffstat (limited to 'pgm4/inet_dgrams.d/Makefile')
-rw-r--r--pgm4/inet_dgrams.d/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/pgm4/inet_dgrams.d/Makefile b/pgm4/inet_dgrams.d/Makefile
new file mode 100644
index 0000000..14018f2
--- /dev/null
+++ b/pgm4/inet_dgrams.d/Makefile
@@ -0,0 +1,17 @@
+CC=gcc
+CFLAGS=-g -Wall
+
+all: recv_udp send_udp fancy_recv_udp
+
+recv_udp: recv_udp.o
+ $(CC) -o recv_udp recv_udp.o
+
+fancy_recv_udp: fancy_recv_udp.o
+ $(CC) -o fancy_recv_udp fancy_recv_udp.o
+
+send_udp: send_udp.o
+ $(CC) -o send_udp send_udp.o
+
+clean:
+ rm -f *.o recv_udp send_udp fancy_recv_udp
+