Skip to content

Commit f6b78b4

Browse files
authored
Merge pull request #98 from ixfd64/build/icon-dependency-fix
fix icon-related dependencies order in Windows makefile
2 parents f1f6d1b + b6bbfad commit f6b78b4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/Makefile.win

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ INSTALL = copy
4949

5050
############################################################################################################
5151

52-
all : ..\mfaktc-win-64.exe ..\mfaktc.ini $(ICON)
52+
all : ..\mfaktc-win-64.exe ..\mfaktc.ini
5353

5454
..\mfaktc-win-64.exe : $(COBJS) $(CUOBJS) $(RES)
5555
$(LINK) $(LFLAGS) $^ $(LIBS) /out:$@
@@ -65,7 +65,7 @@ clean :
6565
%.rc : assets\\%.rc
6666
$(INSTALL) $< .
6767

68-
%.res : %.rc
68+
%.res : %.rc $(ICON)
6969
rc /fo $@ $<
7070

7171
tf_75bit.obj : tf_96bit.cu

src/create_dependencies.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,26 +27,26 @@ case "${1}" in
2727
;;
2828
esac
2929

30-
(
3130
# need to define CUDA runtime version during cpp runs because we ignore
3231
# system includes.
3332

3433
# special code for mfaktc.c that includes either selftest-data-mersenne.c or
3534
# selftest-data-wagstaff.c, depending on whether mfaktc is configured for
3635
# Mersenne or Wagstaff numbers in params.h. For simplicity's sake, we just add
3736
# both files.
38-
cpp -D CUDART_VERSION=6050 -include selftest-data-mersenne.c -include \
37+
(
38+
cpp -D CUDART_VERSION=13000 -include selftest-data-mersenne.c -include \
3939
selftest-data-wagstaff.c -MM mfaktc.c
4040
echo
4141

4242
for FILE in checkpoint.c output.c parse.c read_config.c sieve.c \
4343
signal_handler.c timer.c tf_96bit.cu tf_barrett96.cu \
4444
tf_barrett96_gs.cu gpusieve.cu cuda_utils.cu crc.c
4545
do
46-
cpp -D CUDART_VERSION=6050 -MM ${FILE}
46+
cpp -D CUDART_VERSION=13000 -MM ${FILE}
4747
echo
4848
done
4949

5050
# special case for 75-bit kernels
51-
cpp -D CUDART_VERSION=6050 -MM tf_96bit.cu -MT tf_75bit.o
51+
cpp -D CUDART_VERSION=13000 -MM tf_96bit.cu -MT tf_75bit.o
5252
) | sed s@\.o:@\.${OBJ}:@

0 commit comments

Comments
 (0)