add deps and change gitignore and makefiles
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -54,4 +54,5 @@ dkms.conf
|
||||
|
||||
*.zip
|
||||
*.pdf
|
||||
*.png
|
||||
*.bmp
|
||||
!main*
|
||||
|
13
Makefile
Normal file
13
Makefile
Normal 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 +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
|
||||
|
BIN
exercise0/after.png
Normal file
BIN
exercise0/after.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 60 MiB |
BIN
exercise0/main.pdf
Normal file
BIN
exercise0/main.pdf
Normal file
Binary file not shown.
Reference in New Issue
Block a user