14 lines
No EOL
175 B
Makefile
14 lines
No EOL
175 B
Makefile
.PHONY: all
|
|
|
|
CFLAGS :=
|
|
|
|
all: lc_openmp lc_pthreads
|
|
|
|
lc_openmp: lc_openmp.o common.o
|
|
gcc -o $@ $^
|
|
|
|
lc_pthreads: lc_pthreads.o common.o
|
|
gcc -o $@ $^
|
|
|
|
%.o: %.c
|
|
gcc -o $@ -c $<
|