ALL = hello pingpong join mutex sema

CC = gcc

#CFLAGS = -g
#CFLAGS = -Wall -O -fstrength-reduce -finline-functions -fomit-frame-pointer
CFLAGS = -Wall 

SRCS = hello.c pingpong.c join.c mutex.c sema.c
OBJS = $(SRCS:.c=.o)

LDFLAGS = -lpthread

#.SILENT:

all:	$(ALL)

clean:
	rm -fr *.o a.out

wipe:	clean
	rm -f $(ALL)
