From 8e838a73368d5f26fee796d6ddb065e21449e989 Mon Sep 17 00:00:00 2001 From: "Ian M." Date: Sat, 3 Oct 2026 04:02:54 +0000 Subject: initial commit Signed-off-by: Ian M. --- Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6f1c21e --- /dev/null +++ b/Makefile @@ -0,0 +1,23 @@ +# +# Copyright (c) 2026, Apollo Telephone Laboratories. +# 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 \ + -MMD \ + -Ihead + +.PHONY: all +all: $(OFILES) + $(CC) $(OFILES) -o atas + +-include $(DFILES) +%.o: %.c + $(CC) -c $(CFLAGS) $< -o $@ -- cgit v1.2.3