commit d858bd2b67d36b1246952f9e2fae373763138a6f Author: wheelchairy Date: Tue Feb 4 14:55:03 2025 +0300 Initial diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e6770e0 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +TARGET = choochoo +CC = clang +CFLAGS = -O2 -Wall +SRCS = choochoo.c + +all: $(TARGET) + +$(TARGET): $(SRCS) + $(CC) $(CFLAGS) -o $(TARGET) $(SRCS) + +clean: + rm -f $(TARGET) diff --git a/choochoo.c b/choochoo.c new file mode 100644 index 0000000..5a49b51 --- /dev/null +++ b/choochoo.c @@ -0,0 +1,6 @@ +#include + +int main(void) { + printf("Choo-Choo!\n"); + return 0; +}