summaryrefslogtreecommitdiff
path: root/pgm5/prodcons.d/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pgm5/prodcons.d/Makefile')
-rw-r--r--pgm5/prodcons.d/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/pgm5/prodcons.d/Makefile b/pgm5/prodcons.d/Makefile
new file mode 100644
index 0000000..174975d
--- /dev/null
+++ b/pgm5/prodcons.d/Makefile
@@ -0,0 +1,10 @@
+CC=gcc
+CFLAGS=-g -Wall -D_REENTRANT
+LIBS=-lpthread
+
+prodcons: prodcons.c
+ $(CC) $(CFLAGS) -o prodcons prodcons.c $(LIBS)
+
+clean:
+ rm -f prodcons core.*
+