Files
quip/Makefile
2026-03-21 15:21:43 -04:00

26 lines
387 B
Makefile

#
# Copyright (c) 2026, Mirocom Laboratories
# Provided under the BSD-3 clause
#
CC = gcc
CFLAGS = -Wall -Iinclude/ -pedantic
CFILES = $(shell find core/ -name "*.c")
CFILES += $(shell find frontend/ -name "*.c")
OFILES = $(CFILES:.c=.o)
.PHONY: all
all: quip
.PHONY: quip
quip: $(OFILES)
$(CC) $^ -o $@
%.o: %.c
$(CC) -c $(CFLAGS) $< -o $@
.PHONY: clean
clean:
rm -f $(OFILES)