]> git.mcshandy.xyz Git - picker/commitdiff
Updating project and make settings, I accidentally wiped my /usr/share/bin lol
authorrandy <randy@mcshandy.xyz>
Thu, 21 Sep 2023 20:59:50 +0000 (15:59 -0500)
committerrandy <randy@mcshandy.xyz>
Thu, 21 Sep 2023 20:59:50 +0000 (15:59 -0500)
Makefile
project.vim
tasks.md [new file with mode: 0644]

index 8558858383dc455525a6a3a152e31b4098244508..58f955f42f669dad95c4a6f78ce695ba8610b9a5 100755 (executable)
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,14 @@
-LIBS := -lX11 -lm
+LIBS := -lm
 SOURCES := $(wildcard source/*.c)
 SDL_SOURCES := $(wildcard source/sdl/*.c)
 IMGUI_SOURCES = imgui/imgui.cpp imgui/imgui_impl_sdl.cpp imgui/imgui_impl_sdlrenderer.cpp imgui/imgui_tables.cpp imgui/imgui_widgets.cpp imgui/imgui_draw.cpp
 
-sdl: source/*.c source/*.h source/sdl/*.c source/sdl/*.h
+picker: source/*.c source/*.h source/sdl/*.c source/sdl/*.h
        gcc -DBUILD_SDL=1 $(SDL_SOURCES) $(SOURCES) $(LIBS) -lSDL2 -lSDL2_gfx -lSDL2_ttf -o bin/$@
 
-d_sdl: source/*.c source/*.h source/sdl/*.c source/sdl/*.h
+picker_debug: source/*.c source/*.h source/sdl/*.c source/sdl/*.h
        gcc -g -DBUILD_SDL=1 $(SDL_SOURCES) $(SOURCES) $(LIBS) -lSDL2 -lSDL2_gfx -o bin/$@
+
+install:
+       make picker
+       cp bin/picker /usr/local/bin/picker
index 91cbb00664373a1572049fd8c5f73ae7aac54e9c..9960a5c1aaaa1c7947a6484eb920f76876f06358 100644 (file)
@@ -1,9 +1,9 @@
 let prj_base = expand('%:p:h')
-let build = prj_base . '/bin/sdl'
+let build = prj_base . '/bin/picker'
 let run_build  = "!" . build . " -nop"
 
-nmap \m :wa \| :make! sdl \| execute run_build<CR>
-nmap \d :wa \| :make! d_sdl
+nmap \m :wa \| :make! picker \| execute run_build<CR>
+nmap \d :wa \| :make! picker_debug
 
 " https://stackoverflow.com/questions/37552913/vim-how-to-keep-folds-on-save
 " Save folds between vim sessions
diff --git a/tasks.md b/tasks.md
new file mode 100644 (file)
index 0000000..4679ab3
--- /dev/null
+++ b/tasks.md
@@ -0,0 +1,15 @@
+## To Do
+
+- Modal interface
+- Color export
+- Cleanup
+    * [ ] Text rendering
+    * [ ] Layout rendering
+    * [ ] Old gameframe cruft needs to go
+- Config header
+
+## Doing
+
+
+## Done
+