14 lines
262 B
Makefile
14 lines
262 B
Makefile
INC := -I include
|
|
|
|
all: compile exec
|
|
|
|
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:
|
|
./driver.out
|
|
|
|
clean:
|
|
rm driver.out consumer.out producer.out
|