Skip to content

Made makefile output pretty and removed hardcoded source

Martijn Braam requested to merge feature/awesome-makefile into master
$ make
CC keyboard.cpp
CC draw_helpers.cpp
CC config.cpp
CC luksdevice.cpp
CC main.cpp
CC util.cpp
LD osk-sdl
$

This also removes all hardcoded source files in the makefile, it just builds everything as object and then creates the executable. Also the output from the clean command is made more explicit.

$ make clean
rm -fv *.o osk-sdl
removed 'config.o'
removed 'draw_helpers.o'
removed 'keyboard.o'
removed 'luksdevice.o'
removed 'main.o'
removed 'util.o'
removed 'osk-sdl'
$

Merge request reports