diff options
Diffstat (limited to 'makefile_hal')
-rw-r--r-- | makefile_hal | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/makefile_hal b/makefile_hal deleted file mode 100644 index e12d1d7..0000000 --- a/makefile_hal +++ /dev/null @@ -1,31 +0,0 @@ - -CC = clang -CFLAGS = -g -Os -O3 -Wall -fno-strict-aliasing -Wstrict-overflow -Wno-missing-field-initializers -fPIC -flto -fopenmp -LDFLAGS = -lc -lcblas -llapack -ldl -lpthread -lcholmod -lamd -lcolamd -lsuitesparseconfig -lcamd -lccolamd -lm -lrt -lmetis -lgsl -lprofiler #-ltcmalloc - -OBJ = data bound_set correlations factor_update graph_genfunc net net_voltages net_currents net_conductivity net_fracture get_dual_clusters break_edge graph_components gen_laplacian geometry gen_voltcurmat graph_create graph_free fortune/edgelist fortune/geometry fortune/heap fortune/main fortune/output fortune/voronoi fortune/memory rand -BIN = corr_test fracture anal_process big_anal_process cen_anal_process long_anal_process - -all: opt ${OBJ:%=obj/%.o} ${BIN:%=obj/%.o} ${BIN:%=bin/%} - -opt: - @echo build options: - @echo "CC = ${CC}" - @echo "CFLAGS = ${CFLAGS}" - @echo "LDFLAGS = ${LDFLAGS}" - -obj/%.o: src/%.c - @echo CC -c -o $@ - @${CC} -c -o $@ $< ${CFLAGS} - -bin/%: obj/%.o ${OBJ:%=obj/%.o} - @echo CC -o $@ - @${CC} -o $@ $< ${OBJ:%=obj/%.o} -fuse-ld=gold ${CFLAGS} ${LDFLAGS} - -clean: - @echo cleaning: - @echo rm -f ${OBJ:%=obj/%} ${BIN:%=obj/%.o} ${BIN:%=bin/%} - @rm -f ${OBJ:%=obj/%.o} ${BIN:%=obj/%.o} ${BIN:%=bin/%} - -.PHONY: all clean - |