Skip to content

Commit

Permalink
Fix for ubuntu compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
Simeon Bird committed Jun 7, 2017
1 parent c3f5651 commit ad9346a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ cextract/build:
mkdir cextract/build

cextract/build/extract: cextract/build/main.o cextract/build/read_snapshot.o cextract/build/read_hdf_snapshot.o btest/absorption.o cextract/build/init.o btest/index_table.o btest/part_int.o btest/Faddeeva.o
$(CXX) $(CFLAGS) $(LIBS) $^ -o $@
$(CXX) $(CFLAGS) $^ $(LIBS) -o $@

cextract/build/statistic: cextract/build/statistic.o cextract/build/calc_power.o cextract/build/mean_flux.o cextract/build/smooth.o cextract/build/powerspectrum.o
$(CC) $(CFLAGS) -lfftw3 $^ -o $@
$(CC) $(CFLAGS) $^ -lfftw3 -o $@

cextract/build/%.o: cextract/%.c cextract/global_vars.h cextract/build
$(CC) $(CFLAGS) ${IGREAD} -c $< -o $@
Expand Down

0 comments on commit ad9346a

Please sign in to comment.