![]() ![]() | ![]() |
File: [local] / OpenXM / misc / packages / Windows / debug-tools / debug-sed.c (download)
Revision 1.1, Sun Jul 28 08:10:24 2002 UTC (22 years, 1 month ago) by takayama
make all : builds Risa/asir for windows with OpenXM servers. make build-bat : builds debug-tools/asirgui-debug.bat for debugging the package on the local machine. |
/* $OpenXM: OpenXM/misc/packages/Windows/debug-tools/debug-sed.c,v 1.1 2002/07/28 08:10:24 takayama Exp $ */ #include <stdio.h> main(int argc, char *argv[]) { char path[1024]; int i,j; sprintf(path,"c:\\\\cygwin"); if (argc > 1) { j = strlen(path); for (i=0; i<strlen(argv[1]); i++) { if (argv[1][i] == '/') { path[j] = '\\'; j++; path[j] = '\\'; j++; path[j] = 0; }else{ path[j++] = argv[1][i]; path[j]=0; } } } printf("s/set HOME=c:\\\\cygwin\\\\home\\\\nobuki//g\n"); printf("s/set OpenXM_WIN_ROOT=c:\\\\cygwin\\\\home\\\\nobuki\\\\OpenXM\\\\misc\\\\packages\\\\Windows\\\\OpenXM-win/set OpenXM_WIN_ROOT=%s\\\\OpenXM-win/g\n",path); printf("s/\\\\src\\\\kan96xx\\\\Kan/\\\\bin/g\n"); exit(0); }