add deps and change gitignore and makefiles

This commit is contained in:
2025-08-26 17:59:18 +02:00
parent c056e12b7f
commit 9406ecc1de
6 changed files with 21 additions and 15 deletions
+2 -1
View File
@@ -54,4 +54,5 @@ dkms.conf
*.zip
*.pdf
*.png
*.bmp
!main*
+13
View File
@@ -0,0 +1,13 @@
build:
gcc main.c bitmap.c -o main -O3
run:
make build
./main
show:
make run
feh after.bmp
convert:
magick after.bmp after.png # for showing image in pdf
+1 -13
View File
@@ -1,13 +1 @@
build:
gcc main.c bitmap.c -o main -O3
run:
make build
./main
show:
make run
feh after.bmp
convert:
magick after.bmp after.png # for showing image in pdf
include ../Makefile
Binary file not shown.

After

Width:  |  Height:  |  Size: 60 MiB

Binary file not shown.
+5 -1
View File
@@ -16,8 +16,12 @@
buildInputs = with pkgs; [
gcc
gnumake
mpi
feh
imagemagick_light
typst
typstyle
zip
unzip
];
shellHook = ''
echo welcome!