664a39852b
Signed-off-by: Chloe M. <chloe@mensia.org>
24 lines
351 B
Makefile
24 lines
351 B
Makefile
#
|
|
# Copyright (c) 2026, Chloe M.
|
|
# Provided under the BSD-3 clause
|
|
#
|
|
# Description: Cum extractor build script
|
|
# Author: Chloe M.
|
|
#
|
|
|
|
include ../mk/global.mk
|
|
.SILENT:
|
|
|
|
CFILES = $(shell find . -name "*.c")
|
|
OFILES = $(CFILES:.c=.o)
|
|
|
|
.PHONY: all
|
|
all: ../cumxct
|
|
|
|
.PHONY: hole
|
|
../cumxct: $(OFILES)
|
|
$(CC) $^ -o $@
|
|
|
|
%.o: %.c
|
|
$(CC) -c $(CFLAGS) $< -o $@
|