extractor: Add cum extractor groundwork
Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#
|
||||
# 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 $@
|
||||
Reference in New Issue
Block a user