1 2 3 4 5 6 7 8 9 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.*