initial commit

Signed-off-by: Ian Moffett <ian@mirocom.org>
This commit is contained in:
2026-05-23 01:28:05 -04:00
commit c5f8f95059
6 changed files with 176 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
#
# Copyright (c) 2026, Chloe M.
# Provided under the BSD-3 clause
#
CFILES = $(shell find core/ -name "*.c")
OFILES = $(CFILES:.c=.o)
DFILES = $(CFILES:.c=.d)
CC = gcc
CFLAGS = \
-Wall \
-pedantic \
-Iinclude
.PHONY: all
all: cescal
.PHONY: cescal
cescal: $(OFILES)
$(CC) $^ -o $@
-include $(DFILES)
%.o: %.c
$(CC) -c $< $(CFLAGS) -o $@