add hello world program

This commit is contained in:
2025-06-27 02:27:09 -04:00
parent 36d610183f
commit 8aac5dc8b4
3 changed files with 22 additions and 0 deletions

14
Makefile Normal file
View File

@@ -0,0 +1,14 @@
OBJS = src/main.o
all: hello-world
.c.o:
$(CC) $(CFLAGS) -c -o $@ $<
hello-world: $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(OBJS)
clean:
rm -f $(OBJS) hello-world