Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
folders renamed/qra64 qracodes folders from wjstx updated
- Loading branch information
Showing
58 changed files
with
3,872 additions
and
2,293 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
FC = gfortran | ||
CC = gcc | ||
CFLAGS = -O2 -Wall -I. -D_WIN32 | ||
|
||
# Default rules | ||
%.o: %.c | ||
${CC} ${CFLAGS} -c $< | ||
%.o: %.f | ||
${FC} ${FFLAGS} -c $< | ||
%.o: %.F | ||
${FC} ${FFLAGS} -c $< | ||
%.o: %.f90 | ||
${FC} ${FFLAGS} -c $< | ||
%.o: %.F90 | ||
${FC} ${FFLAGS} -c $< | ||
|
||
all: qra64.exe | ||
|
||
OBJS1 = main.o qra64.o | ||
qra64.exe: $(OBJS1) | ||
${CC} -o qra64.exe $(OBJS1) ../qracodes/libqra64.a -lm | ||
|
||
OBJS2 = qra64sim.o options.o wavhdr.o | ||
qra64sim.exe: $(OBJS2) | ||
${FC} -o qra64sim.exe $(OBJS2) ../qracodes/libqra64.a -lm | ||
|
||
.PHONY : clean | ||
|
||
clean: | ||
$(RM) *.o qra64.exe qra64sim.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
g++ -march=native -pthread -O3 -I../qracodes/ \ | ||
*.c \ | ||
../qracodes/normrnd.c \ | ||
../qracodes/npfwht.c \ | ||
../qracodes/pdmath.c \ | ||
../qracodes/qra12_63_64_irr_b.c \ | ||
../qracodes/qra13_64_64_irr_e.c \ | ||
../qracodes/qracodes.c \ | ||
-lpthread -o qra64 | ||
|
Oops, something went wrong.