Formatting

This commit is contained in:
Imbus 2024-04-08 01:40:00 +02:00
parent 5f94263789
commit 020cb9e954
2 changed files with 6 additions and 2 deletions

View file

@ -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

View file

@ -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;
}