Formatting
This commit is contained in:
parent
5f94263789
commit
020cb9e954
2 changed files with 6 additions and 2 deletions
4
makefile
4
makefile
|
@ -58,6 +58,10 @@ build/%.o: src/%.c | mkbuilddir
|
|||
size: $(TARGET)
|
||||
$(SIZE) $(TARGET)
|
||||
|
||||
# Format with clang-format
|
||||
format: $(SRCS)
|
||||
clang-format -i $^
|
||||
|
||||
# Clean up the build directory
|
||||
clean:
|
||||
rm -r build
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include <stdio.h>
|
||||
|
||||
int main(int argc, const char **argv) {
|
||||
printf("Hello, World!\n");
|
||||
return 0;
|
||||
printf("Hello, World!\n");
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue