Skip to content

Commit 657cc14

Browse files
committed
Fixed Makefiles -- there were still references to progressbar
1 parent 1fe20c4 commit 657cc14

File tree

5 files changed

+34
-20
lines changed

5 files changed

+34
-20
lines changed

xi_theory/vpf/Makefile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ endif
55

66
target := vpf
77
SRC1 := vpf.c countspheres.c ../../utils/gridlink.c ../../utils/utils.c ../../io/ftread.c ../../io/io.c
8-
OBJS1 := $(SRC1:.c=.o)
98
INCL := countspheres.h ../../io/ftread.h ../../io/io.h ../../utils/utils.h ../../utils/gridlink.h \
109
../../utils/function_precision.h ../../utils/cellarray.h ../../utils/avx_calls.h \
1110
../../utils/defs.h
@@ -14,6 +13,7 @@ ifeq ($(OUTPUT_PGBAR), 1)
1413
SRC1 += ../../utils/progressbar.c
1514
INCL += ../../utils/progressbar.h
1615
endif
16+
OBJS1 := $(SRC1:.c=.o)
1717

1818
all: $(target) $(SRC1) $(INCL) ../../theory.options ../../common.mk Makefile
1919

@@ -26,14 +26,17 @@ countspheres.o: countspheres.c $(INCL) ../../theory.options ../../common.mk Make
2626
%.o: %.c $(INCL) ../../theory.options ../../common.mk Makefile
2727
$(CC) $(OPT) $(CFLAGS) $(INCLUDE) -c $< -o $@
2828

29-
SRC2 = countspheres.c ../../utils/gridlink.c ../../utils/utils.c ../../utils/progressbar.c
30-
OBJS2 = $(SRC2:.c=.o)
29+
SRC2 := countspheres.c ../../utils/gridlink.c ../../utils/utils.c
30+
ifeq ($(OUTPUT_PGBAR), 1)
31+
SRC2 += ../../utils/progressbar.c
32+
endif
33+
OBJS2 := $(SRC2:.c=.o)
3134

3235
libs: lib
3336
lib: libcountspheres.a | ../../lib ../../include
3437

3538

36-
libcountspheres.a: $(OBJS2) ../../theory.options ../../common.mk Makefile | ../../lib ../../include
39+
libcountspheres.a: $(OBJS2) $(INCL) ../../theory.options ../../common.mk Makefile | ../../lib ../../include
3740
ar rcs $@ $(OBJS2)
3841
cp -p $@ ../../lib/
3942
sed -e "s/DOUBLE/$(VECTOR_TYPE)/g" countspheres.h > ../../include/countspheres.h

xi_theory/wp/Makefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ endif
55

66
target := wp
77
SRC1 := wp.c countpairs_wp.c ../../utils/utils.c ../../utils/gridlink.c ../../io/io.c ../../io/ftread.c
8-
OBJS1 := $(SRC1:.c=.o)
98
INCL := countpairs_wp.h ../../io/ftread.h ../../io/io.h ../../utils/utils.h ../../utils/gridlink.h \
109
../../utils/function_precision.h ../../utils/cellarray.h ../../utils/avx_calls.h \
1110
../../utils/defs.h ../../utils/sglib.h
@@ -14,6 +13,7 @@ ifeq ($(OUTPUT_PGBAR), 1)
1413
SRC1 += ../../utils/progressbar.c
1514
INCL += ../../utils/progressbar.h
1615
endif
16+
OBJS1 := $(SRC1:.c=.o)
1717

1818
all: $(target) $(SRC1) $(INCL) ../../theory.options ../../common.mk Makefile
1919

@@ -23,12 +23,15 @@ $(target): $(OBJS1) $(INCL) ../../theory.options ../../common.mk Makefile
2323
%.o: %.c $(INCL) ../../theory.options ../../common.mk Makefile
2424
$(CC) $(OPT) $(CFLAGS) $(INCLUDE) -c $< -o $@
2525

26-
OBJS2=countpairs_wp.o ../../utils/gridlink.o ../../utils/utils.o ../../utils/progressbar.o
26+
OBJS2 := countpairs_wp.o ../../utils/gridlink.o ../../utils/utils.o
27+
ifeq ($(OUTPUT_PGBAR), 1)
28+
OBJS2 += ../../utils/progressbar.o
29+
endif
2730

2831
libs: lib
2932
lib: libcountpairs_wp.a | ../../lib ../../include
3033

31-
libcountpairs_wp.a: $(OBJS2) ../../theory.options ../../common.mk Makefile | ../../lib ../../include
34+
libcountpairs_wp.a: $(OBJS2) $(INCL) ../../theory.options ../../common.mk Makefile | ../../lib ../../include
3235
ar rcs $@ $(OBJS2)
3336
cp -p $@ ../../lib/
3437
sed -e "s/DOUBLE/$(VECTOR_TYPE)/g" countpairs_wp.h > ../../include/countpairs_wp.h

xi_theory/xi/Makefile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ endif
55

66
target := xi
77
SRC1 := xi.c countpairs_xi.c ../../utils/gridlink.c ../../utils/utils.c ../../io/ftread.c ../../io/io.c
8-
OBJS1 := $(SRC1:.c=.o)
98
INCL := countpairs_xi.h ../../io/ftread.h ../../io/io.h ../../utils/utils.h ../../utils/gridlink.h \
109
../../utils/function_precision.h ../../utils/cellarray.h ../../utils/avx_calls.h \
1110
../../utils/defs.h
@@ -14,7 +13,7 @@ ifeq ($(OUTPUT_PGBAR), 1)
1413
SRC1 += ../../utils/progressbar.c
1514
INCL += ../../utils/progressbar.h
1615
endif
17-
16+
OBJS1 := $(SRC1:.c=.o)
1817

1918
all: $(target) $(SRC1) $(INCL) ../../theory.options ../../common.mk Makefile
2019

@@ -24,13 +23,16 @@ $(target): $(OBJS1) $(INCL) ../../common.mk ../../theory.options Makefile
2423
%.o: %.c $(INCL) ../../theory.options ../../common.mk Makefile
2524
$(CC) $(OPT) $(CFLAGS) $(INCLUDE) -c $< -o $@
2625

27-
SRC2 = countpairs_xi.c ../../utils/gridlink.c ../../utils/utils.c ../../utils/progressbar.c
28-
OBJS2 = $(SRC2:.c=.o)
26+
SRC2 := countpairs_xi.c ../../utils/gridlink.c ../../utils/utils.c
27+
ifeq ($(OUTPUT_PGBAR), 1)
28+
SRC2 += ../../utils/progressbar.c
29+
endif
30+
OBJS2 := $(SRC2:.c=.o)
2931

3032
libs: lib
3133
lib: libcountpairs_xi.a | ../../lib ../../include
3234

33-
libcountpairs_xi.a: $(OBJS2) ../../common.mk ../../theory.options Makefile | ../../lib ../../include
35+
libcountpairs_xi.a: $(OBJS2) $(INCL) ../../common.mk ../../theory.options Makefile | ../../lib ../../include
3436
ar rcs $@ $(OBJS2)
3537
cp -p $@ ../../lib/
3638
sed -e "s/DOUBLE/$(VECTOR_TYPE)/g" countpairs_xi.h > ../../include/countpairs_xi.h

xi_theory/xi_of_r/Makefile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ endif
66

77
target := DD
88
SRC1 := DD.c countpairs.c ../../utils/gridlink.c ../../utils/utils.c ../../io/ftread.c ../../io/io.c
9-
OBJS1 := $(SRC1:.c=.o)
109
INCL := countpairs.h ../../io/ftread.h ../../io/io.h ../../utils/utils.h ../../utils/gridlink.h \
1110
../../utils/function_precision.h ../../utils/cellarray.h ../../utils/avx_calls.h \
1211
../../utils/defs.h
@@ -15,7 +14,7 @@ ifeq ($(OUTPUT_PGBAR), 1)
1514
SRC1 += ../../utils/progressbar.c
1615
INCL += ../../utils/progressbar.h
1716
endif
18-
17+
OBJS1 := $(SRC1:.c=.o)
1918

2019
all: $(target) $(SRC1) $(INCL) ../../theory.options ../../common.mk Makefile
2120

@@ -25,13 +24,17 @@ $(target): $(OBJS1) $(INCL) ../../theory.options ../../common.mk Makefile
2524
%.o: %.c $(INCL) ../../theory.options ../../common.mk Makefile
2625
$(CC) $(OPT) $(CFLAGS) $(INCLUDE) -c $< -o $@
2726

28-
SRC2 = countpairs.c ../../utils/gridlink.c ../../utils/utils.c ../../utils/progressbar.c
27+
SRC2 = countpairs.c ../../utils/gridlink.c ../../utils/utils.c
28+
ifeq ($(OUTPUT_PGBAR), 1)
29+
SRC2 += ../../utils/progressbar.c
30+
endif
31+
2932
OBJS2 = $(SRC2:.c=.o)
3033

3134
libs: lib
3235
lib: libcountpairs.a | ../../lib
3336

34-
libcountpairs.a: $(OBJS2) ../../theory.options ../../common.mk Makefile | ../../lib ../../include
37+
libcountpairs.a: $(OBJS2) $(INCL) ../../theory.options ../../common.mk Makefile | ../../lib ../../include
3538
ar rcs $@ $(OBJS2)
3639
cp -p $@ ../../lib/
3740
sed -e "s/DOUBLE/$(VECTOR_TYPE)/g" countpairs.h > ../../include/countpairs.h

xi_theory/xi_rp_pi/Makefile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ endif
66
target:= DDrppi wprp
77

88
SRC1 := DDrppi.c countpairs_rp_pi.c ../../utils/utils.c ../../utils/gridlink.c ../../io/io.c ../../io/ftread.c
9-
OBJS1 := $(SRC1:.c=.o)
109
INCL := countpairs_rp_pi.h ../../io/ftread.h ../../io/io.h ../../utils/utils.h ../../utils/gridlink.h \
1110
../../utils/function_precision.h ../../utils/cellarray.h ../../utils/avx_calls.h \
1211
../../utils/defs.h
@@ -15,6 +14,7 @@ ifeq ($(OUTPUT_PGBAR), 1)
1514
SRC1 += ../../utils/progressbar.c
1615
INCL += ../../utils/progressbar.h
1716
endif
17+
OBJS1 := $(SRC1:.c=.o)
1818

1919
all: $(target) ../../theory.options ../../common.mk Makefile
2020

@@ -24,15 +24,18 @@ DDrppi: $(OBJS1) $(INCL) ../../theory.options ../../common.mk Makefile
2424
%.o: %.c $(INCL) ../../theory.options ../../common.mk Makefile
2525
$(CC) $(OPT) $(CFLAGS) $(INCLUDE) -c $< -o $@
2626

27-
OBJS2= wprp.o ../../utils/utils.o
27+
OBJS2 := wprp.o ../../utils/utils.o
2828
wprp: $(OBJS2) ../../theory.options ../../common.mk Makefile
2929
$(CC) $(CFLAGS) $(INCLUDE) -o $@ $(OBJS2) $(CLINK)
3030

3131
libs: lib
3232
lib: libcountpairs_rp_pi.a | ../../lib
3333

34-
OBJS3=countpairs_rp_pi.o ../../utils/gridlink.o ../../utils/utils.o ../../utils/progressbar.o
35-
libcountpairs_rp_pi.a: $(OBJS3) ../../theory.options ../../common.mk Makefile | ../../lib ../../include
34+
OBJS3 := countpairs_rp_pi.o ../../utils/gridlink.o ../../utils/utils.o
35+
ifeq ($(OUTPUT_PGBAR), 1)
36+
OBJS3 += ../../utils/progressbar.o
37+
endif
38+
libcountpairs_rp_pi.a: $(OBJS3) $(INCL) ../../theory.options ../../common.mk Makefile | ../../lib ../../include
3639
ar rcs $@ $(OBJS3)
3740
cp -p $@ ../../lib/
3841
sed -e "s/DOUBLE/$(VECTOR_TYPE)/g" countpairs_rp_pi.h > ../../include/countpairs_rp_pi.h

0 commit comments

Comments
 (0)