INC := -I include 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 link: gcc -o bin/driver.out build/*.o exec: compile link ./bin/driver.out clean: rm build/*.o rm bin/*.out