commit 83c50da296390fc5a5a51d0f009c574e55005fac Author: Ian Moffett Date: Mon Feb 9 16:15:33 2026 -0500 initial commit Signed-off-by: Ian Moffett diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7ef3f42 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.o +*.d +/cav diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9d598c7 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +CFILES = $(shell find . -name "*.c") +OFILES = $(CFILES:.c=.o) +DFILES = $(CFILES:.c=.d) + +CC = clang +CFLAGS = -Wall -pedantic -MMD -Iinc + +.PHONY: all +all: $(OFILES) + $(CC) $^ -o cav + +%.o: %.c + $(CC) -c $(CFLAGS) $< -o $@ diff --git a/src/main.c b/src/main.c new file mode 100644 index 0000000..a0ccfeb --- /dev/null +++ b/src/main.c @@ -0,0 +1,7 @@ +#include + +int +main(void) +{ + return 0; +}