first commit
This commit is contained in:
8
.gitignore
vendored
Normal file
8
.gitignore
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
app
|
||||
|
||||
*.o
|
||||
*.d
|
||||
*.i
|
||||
*.s
|
||||
*.so
|
||||
*.a
|
||||
19
LICENSE.md
Normal file
19
LICENSE.md
Normal file
@@ -0,0 +1,19 @@
|
||||
zlib License
|
||||
|
||||
(C) 2026 Joshua Wright
|
||||
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
arising from the use of this software.
|
||||
|
||||
Permission is granted to anyone to use this software for any purpose,
|
||||
including commercial applications, and to alter it and redistribute it
|
||||
freely, subject to the following restrictions:
|
||||
|
||||
1. The origin of this software must not be misrepresented; you must not
|
||||
claim that you wrote the original software. If you use this software
|
||||
in a product, an acknowledgment in the product documentation would be
|
||||
appreciated but is not required.
|
||||
2. Altered source versions must be plainly marked as such, and must not be
|
||||
misrepresented as being the original software.
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
21
Makefile
Normal file
21
Makefile
Normal file
@@ -0,0 +1,21 @@
|
||||
all: app
|
||||
|
||||
app: main.c
|
||||
@gcc -std=c23 -ggdb -Wall -Wextra -pedantic -O0 main.c -o app
|
||||
|
||||
.PHONY: clean run test debug
|
||||
|
||||
clean:
|
||||
@rm -rf app
|
||||
|
||||
run: app
|
||||
-@./app
|
||||
@rm -rf app
|
||||
|
||||
test: app
|
||||
@valgrind ./app
|
||||
@rm -rf app
|
||||
|
||||
debug: app
|
||||
@gdb ./app
|
||||
@rm -rf app
|
||||
3
README.md
Normal file
3
README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# C Raylib Example
|
||||
|
||||
This is a how to example of how to use raylib and raygui in C.
|
||||
Reference in New Issue
Block a user