first bits of CV code
This commit is contained in:
20
threads-cv/Makefile
Normal file
20
threads-cv/Makefile
Normal file
@@ -0,0 +1,20 @@
|
||||
CC := gcc
|
||||
CFLAGS := -Wall -Werror -I../include
|
||||
|
||||
SRCS := join.c \
|
||||
join_modular.c
|
||||
|
||||
OBJS := ${SRCS:c=o}
|
||||
PROGS := ${SRCS:.c=}
|
||||
|
||||
.PHONY: all
|
||||
all: ${PROGS}
|
||||
|
||||
${PROGS} : % : %.o Makefile
|
||||
${CC} $< -o $@ -pthread
|
||||
|
||||
clean:
|
||||
rm -f ${PROGS} ${OBJS}
|
||||
|
||||
%.o: %.c Makefile
|
||||
${CC} ${CFLAGS} -c $<
|
||||
Reference in New Issue
Block a user