diff --git a/Makefile b/Makefile index 734ca3c..c3dbd4a 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +# Copyright (jacekpoz 2024). Licensed under the EUPL-1.2 or later. + CC = clang CFLAGS = -std=c11 -Wall -Wextra -Wpedantic CFLAGS += -fstrict-aliasing diff --git a/examples/Makefile b/examples/Makefile index df1c743..b4933a0 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -1,3 +1,5 @@ +# Copyright (jacekpoz 2024). Licensed under the EUPL-1.2 or later. + LDFLAGS = -L$(BIN) -lptk EXAMPLE_DIR = examples diff --git a/examples/amogus.c b/examples/amogus.c index 6f65438..342fb6e 100644 --- a/examples/amogus.c +++ b/examples/amogus.c @@ -1,3 +1,5 @@ +// Copyright (jacekpoz 2024). Licensed under the EUPL-1.2 or later. + #include #include diff --git a/shaders/shader.frag.glsl b/shaders/shader.frag.glsl index b53836c..cf5fb02 100644 --- a/shaders/shader.frag.glsl +++ b/shaders/shader.frag.glsl @@ -1,3 +1,5 @@ +// Copyright (jacekpoz 2024). Licensed under the EUPL-1.2 or later. + #version 450 layout(constant_id = 0) const int PTK_COMPONENT_TYPE_ELLIPSE = 0; diff --git a/shaders/shader.vert.glsl b/shaders/shader.vert.glsl index 692176a..3e61381 100644 --- a/shaders/shader.vert.glsl +++ b/shaders/shader.vert.glsl @@ -1,3 +1,5 @@ +// Copyright (jacekpoz 2024). Licensed under the EUPL-1.2 or later. + #version 450 layout(binding = 0) uniform UniformBufferObject { diff --git a/src/ptk.c b/src/ptk.c index b9c64cc..a6128bd 100644 --- a/src/ptk.c +++ b/src/ptk.c @@ -1,3 +1,5 @@ +// Copyright (jacekpoz 2024). Licensed under the EUPL-1.2 or later. + #include #include #include diff --git a/src/ptk_list.c b/src/ptk_list.c index 9af5b15..0af1f5d 100644 --- a/src/ptk_list.c +++ b/src/ptk_list.c @@ -1,3 +1,5 @@ +// Copyright (jacekpoz 2024). Licensed under the EUPL-1.2 or later. + #include #include diff --git a/src/ptk_list.h b/src/ptk_list.h index 9fde387..303bf48 100644 --- a/src/ptk_list.h +++ b/src/ptk_list.h @@ -1,3 +1,5 @@ +// Copyright (jacekpoz 2024). Licensed under the EUPL-1.2 or later. + #ifndef PTK_PTK_LIST_H_ #define PTK_PTK_LIST_H_ diff --git a/src/ptk_log.c b/src/ptk_log.c index 23565de..5c34fbe 100644 --- a/src/ptk_log.c +++ b/src/ptk_log.c @@ -1,3 +1,5 @@ +// Copyright (jacekpoz 2024). Licensed under the EUPL-1.2 or later. + #include #include diff --git a/src/ptk_option.h b/src/ptk_option.h index 1e42389..4b35eb0 100644 --- a/src/ptk_option.h +++ b/src/ptk_option.h @@ -1,3 +1,5 @@ +// Copyright (jacekpoz 2024). Licensed under the EUPL-1.2 or later. + #ifndef PTK_PTK_OPTION_H_ #define PTK_PTK_OPTION_H_ diff --git a/src/ptk_vk/components.c b/src/ptk_vk/components.c index 519a564..2c7422c 100644 --- a/src/ptk_vk/components.c +++ b/src/ptk_vk/components.c @@ -1,3 +1,5 @@ +// Copyright (jacekpoz 2024). Licensed under the EUPL-1.2 or later. + #include #include #include diff --git a/src/ptk_vk/components.h b/src/ptk_vk/components.h index 2f0430d..74c8944 100644 --- a/src/ptk_vk/components.h +++ b/src/ptk_vk/components.h @@ -1,3 +1,5 @@ +// Copyright (jacekpoz 2024). Licensed under the EUPL-1.2 or later. + #ifndef PTK_PTK_VK_COMPONENTS_H_ #define PTK_PTK_VK_COMPONENTS_H_ diff --git a/src/ptk_vk/draw.c b/src/ptk_vk/draw.c index ca8c4fc..6ea0907 100644 --- a/src/ptk_vk/draw.c +++ b/src/ptk_vk/draw.c @@ -1,3 +1,5 @@ +// Copyright (jacekpoz 2024). Licensed under the EUPL-1.2 or later. + #include #include diff --git a/src/ptk_vk/draw.h b/src/ptk_vk/draw.h index f1f824e..2fcc99a 100644 --- a/src/ptk_vk/draw.h +++ b/src/ptk_vk/draw.h @@ -1,3 +1,5 @@ +// Copyright (jacekpoz 2024). Licensed under the EUPL-1.2 or later. + #ifndef PTK_PTK_VK_DRAW_H_ #define PTK_PTK_VK_DRAW_H_ diff --git a/src/ptk_vk/init.c b/src/ptk_vk/init.c index b645d9e..103d280 100644 --- a/src/ptk_vk/init.c +++ b/src/ptk_vk/init.c @@ -1,3 +1,5 @@ +// Copyright (jacekpoz 2024). Licensed under the EUPL-1.2 or later. + #include #include diff --git a/src/ptk_vk/init.h b/src/ptk_vk/init.h index 3e3844a..d685a33 100644 --- a/src/ptk_vk/init.h +++ b/src/ptk_vk/init.h @@ -1,3 +1,5 @@ +// Copyright (jacekpoz 2024). Licensed under the EUPL-1.2 or later. + #ifndef PTK_PTK_VK_INIT_H_ #define PTK_PTK_VK_INIT_H_ diff --git a/src/ptk_vk/utils.c b/src/ptk_vk/utils.c index 1a2c442..960e44d 100644 --- a/src/ptk_vk/utils.c +++ b/src/ptk_vk/utils.c @@ -1,3 +1,5 @@ +// Copyright (jacekpoz 2024). Licensed under the EUPL-1.2 or later. + #include const char *vk_result_string(VkResult res) { diff --git a/src/ptk_vk/utils.h b/src/ptk_vk/utils.h index b2a7836..7bf2005 100644 --- a/src/ptk_vk/utils.h +++ b/src/ptk_vk/utils.h @@ -1,3 +1,5 @@ +// Copyright (jacekpoz 2024). Licensed under the EUPL-1.2 or later. + #ifndef PTK_PTK_VK_UTILS_H_ #define PTK_PTK_VK_UTILS_H_ diff --git a/test/Makefile b/test/Makefile index 6e3c11b..3dd86e0 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,3 +1,5 @@ +# Copyright (jacekpoz 2024). Licensed under the EUPL-1.2 or later. + INCLUDE += test CFLAGS += $(addprefix -I, $(INCLUDE)) LDFLAGS = -L$(BIN) -lptk diff --git a/test/list.c b/test/list.c index c7152a8..afecc53 100644 --- a/test/list.c +++ b/test/list.c @@ -1,3 +1,5 @@ +// Copyright (jacekpoz 2024). Licensed under the EUPL-1.2 or later. + #include #include diff --git a/test/test.h b/test/test.h index 9a192a8..17593e1 100644 --- a/test/test.h +++ b/test/test.h @@ -1,3 +1,5 @@ +// Copyright (jacekpoz 2024). Licensed under the EUPL-1.2 or later. + #ifndef TEST_TEST_H_ #define TEST_TEST_H_