Changeset 244 in Main for trunk/Tool/option.c
- Timestamp:
- Oct 4, 2024, 5:04:15 AM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tool/option.c
r240 r244 15 15 printf("-I %s/openssl/include", argv[2]); 16 16 #endif 17 #ifdef BUILD_GUI 18 if(strcmp(argv[3], "WINDOWS_WATCOM") == 0){ 19 printf(" -b nt_win"); 20 }else if(strcmp(argv[3], "WINDOWS") == 0){ 21 printf(" -mwindows"); 22 } 23 #endif 17 24 } else if(strcmp(argv[1], "ldflags") == 0) { 18 25 #ifndef NO_SSL 19 26 printf("-L %s/openssl/lib", argv[2]); 20 27 #endif 28 #ifdef BUILD_GUI 29 if(strcmp(argv[3], "WINDOWS_WATCOM") == 0){ 30 printf(" -b nt_win"); 31 }else if(strcmp(argv[3], "WINDOWS") == 0){ 32 printf(" -mwindows"); 33 } 34 #endif 21 35 } else if(strcmp(argv[1], "objs") == 0) { 22 36 #ifndef NO_SSL 23 printf("ssl.o"); 37 printf("ssl.%s", argv[4]); 38 #endif 39 #ifdef BUILD_GUI 40 if(strcmp(argv[3], "WINDOWS") == 0 || strcmp(argv[3], "WINDOWS_WATCOM") == 0){ 41 printf(" gui.%s", argv[4]); 42 } 24 43 #endif 25 44 } else if(strcmp(argv[1], "libs") == 0) { … … 33 52 printf(" -lws2_32"); 34 53 #endif 54 #ifdef BUILD_GUI 55 printf(" -lcomctl32"); 56 #endif 35 57 }else if(strcmp(argv[3], "WINDOWS_WATCOM") == 0){ 36 58 #ifdef USE_WINSOCK1 … … 39 61 printf(" ws2_32.lib"); 40 62 #endif 63 #ifdef BUILD_GUI 64 printf(" comctl32.lib"); 65 #endif 41 66 } 42 67 }
Note:
See TracChangeset
for help on using the changeset viewer.