Skip to content

Commit c690af5

Browse files
committed
Fixed issue with crt2.o and crtbegin.o mysteriously disappearing
1 parent e5f47b2 commit c690af5

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ ifeq ($(OS), Windows_NT)
340340
@del bin\adept_debug.exe /S /Q 1> nul 2>&1
341341
@if exist unittests\obj @del unittests\obj\*.* /S /Q 1> nul 2>&1
342342
else
343-
@find . -name "*.o" -type f -delete 2> /dev/null
343+
@find obj -name "*.o" -type f -delete 2> /dev/null
344344
@rm -rf 2> /dev/null bin/adept
345345
@rm -rf 2> /dev/null bin/adept_debug
346346
endif

tests/windowed/main.adept

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
11

2-
// 'pragma windowed' or '--windowed' or 'pragma mwindows' or '-mwindows' will cause any applications
3-
// compiled for windows to not spawn a command prompt window.
4-
// (will only apply to Windows)
5-
pragma windowed
6-
7-
// Rest of code is just using the Sailboat game template
8-
// to quickly have a window to test it with
9-
102
/*
113
Sailboat Game Template
124
Created by Isaac Shelton, Licensed under the Unlicense
@@ -43,12 +35,19 @@ pragma windowed
4335
- Captain 2D Window & Graphics Library
4436

4537
Optional Technologies:
46-
- 2.5/JSON.adept
38+
- 2.6/JSON.adept
4739
- Box2D : adept install box2d
4840
- Base64 : adept install base64
4941
*/
5042

51-
pragma compiler_version '2.5'
43+
pragma compiler_version '2.6'
44+
45+
// -------------------------------------------------------------------
46+
// 'pragma windowed' or '--windowed' or 'pragma mwindows' or '-mwindows' will cause any applications
47+
// compiled for windows to not spawn a command prompt window.
48+
// (will only apply to Windows)
49+
pragma windowed
50+
// -------------------------------------------------------------------
5251

5352
#define SAILBOAT_GAME_TITLE "Example Title"
5453
#define SAILBOAT_FULLSCREEN false

0 commit comments

Comments
 (0)