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)
|
||||||
$(SIZE) $(TARGET)
|
$(SIZE) $(TARGET)
|
||||||
|
|
||||||
|
# Format with clang-format
|
||||||
|
format: $(SRCS)
|
||||||
|
clang-format -i $^
|
||||||
|
|
||||||
# Clean up the build directory
|
# Clean up the build directory
|
||||||
clean:
|
clean:
|
||||||
rm -r build
|
rm -r build
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
int main(int argc, const char **argv) {
|
int main(int argc, const char **argv) {
|
||||||
printf("Hello, World!\n");
|
printf("Hello, World!\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue