Added rand() to producer

This commit is contained in:
2022-10-12 21:11:15 -05:00
parent 1b31acc926
commit e8f6618df6
10 changed files with 29 additions and 13 deletions
+4 -2
View File
@@ -1,14 +1,16 @@
INC := -I include
all: compile exec
all: compile link
compile:
gcc $(INC) -c -o build/driver.o src/driver.c
gcc $(INC) -c -o build/producer.o src/producer.c
gcc $(INC) -c -o build/consumer.o src/consumer.c
exec:
link:
gcc -o bin/driver.out build/*.o
exec: compile link
./bin/driver.out
clean: