F
fl
Hi,
I get a C program on the web, which is originally under unix OS. I
would like to run it on Windows. The last line in the Makefile is an
argument setting. How to add the same functionality in MSVC project? I
guess I can do it in one line of #define. But I am puzzled on the
Makefile grammar: RAND_FILE is randfile (There is a 'randfile' in the
folder, or rand.c (There is a rand.c file there too). Could you
explain it to me? Thanks.
............................
modules:
$(COMPILE) rcode.c
$(COMPILE) distrib.c
$(COMPILE) -DRAND_FILE=\"`pwd`/randfile\" rand.c
I get a C program on the web, which is originally under unix OS. I
would like to run it on Windows. The last line in the Makefile is an
argument setting. How to add the same functionality in MSVC project? I
guess I can do it in one line of #define. But I am puzzled on the
Makefile grammar: RAND_FILE is randfile (There is a 'randfile' in the
folder, or rand.c (There is a rand.c file there too). Could you
explain it to me? Thanks.
............................
modules:
$(COMPILE) rcode.c
$(COMPILE) distrib.c
$(COMPILE) -DRAND_FILE=\"`pwd`/randfile\" rand.c