diff options
author | John Ankarström <john@ankarstrom.se> | 2022-03-02 18:41:39 +0100 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-03-02 18:41:39 +0100 |
commit | 56d4f25db9cedb5b45a731ce2db004fb03ccc001 (patch) | |
tree | 3757fcea7ade0081cb9d563ca9b6b7eef3c3ff81 | |
parent | 935fbb1e9c3853570399979eef402382d211ef4c (diff) | |
download | EpisodeBrowser-56d4f25db9cedb5b45a731ce2db004fb03ccc001.tar.gz |
Change window class and executable name
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | Run.bat | 2 | ||||
-rw-r--r-- | c/main.c | 6 |
3 files changed, 7 insertions, 7 deletions
@@ -14,9 +14,9 @@ else CFLAGS += -O2 -ld-options,-mwindows endif -all: episode_browser.exe +all: EpisodeBrowser.exe -episode_browser.exe: $(C) $(OBJ) $(PL) $(R)c/defs.h $(R)Makefile +EpisodeBrowser.exe: $(C) $(OBJ) $(PL) $(R)c/defs.h $(R)Makefile $(CC) -v $(CFLAGS) $(LDFLAGS) -goal true -o $@ $(C) $(OBJ) $(PL) resource.obj: $(R)c/resource.h $(R)c/resource.rc @@ -26,4 +26,4 @@ resource.obj: $(R)c/resource.h $(R)c/resource.rc $(CC) -c $(CFLAGS) -o $@ $< clean: - rm -fr episode_browser.exe *.obj + rm -fr EpisodeBrowser.exe *.obj @@ -1,4 +1,4 @@ @cd %~dp0\build\default @make -f ../../Makefile || pause && exit @cd %TEMP% -@%~dp0\build\default\episode_browser.exe
\ No newline at end of file +@%~dp0\build\default\EpisodeBrowser.exe
\ No newline at end of file @@ -29,7 +29,7 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, /* Initialize Prolog. */ - rgArgs[0] = "episode_browser"; + rgArgs[0] = "EpisodeBrowser"; rgArgs[1] = NULL; tszErr = TEXT("Could not initialize Prolog."); if (!PL_initialise(1, rgArgs)) goto f; @@ -55,14 +55,14 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, wc.hCursor = LoadCursor(NULL, IDC_ARROW); wc.hbrBackground = (HBRUSH)(COLOR_WINDOW+1); wc.lpszMenuName = MAKEINTRESOURCE(IDR_MENU); - wc.lpszClassName = TEXT("Episode Browser"); + wc.lpszClassName = TEXT("EpisodeBrowser"); wc.hIconSm = LoadIcon(NULL, IDI_APPLICATION); tszErr = TEXT("Could not register window class."); if (!RegisterClassEx(&wc)) goto f; hWnd = CreateWindowEx( 0, - TEXT("Episode Browser"), + TEXT("EpisodeBrowser"), TEXT("Episode Browser"), WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, CW_USEDEFAULT, 510, 400, |