From d858bd2b67d36b1246952f9e2fae373763138a6f Mon Sep 17 00:00:00 2001 From: wheelchairy Date: Tue, 4 Feb 2025 14:55:03 +0300 Subject: [PATCH] Initial --- Makefile | 12 ++++++++++++ choochoo.c | 6 ++++++ 2 files changed, 18 insertions(+) create mode 100644 Makefile create mode 100644 choochoo.c 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; +}