From 8d51757e02818146b05c805b81e167f118fca7dc Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Tue, 12 Nov 2024 13:36:10 +0000 Subject: The quine --- Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..34b780b --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +# SPDX-FileCopyrightText: 2024 Tomasz Kramkowski +# SPDX-LicenseIdentifier: GPL-3.0-or-later + +CFLAGS += -std=c11 + +%.escaped: % cescape Makefile + < $< ./cescape > $@ + +%.c: %.in.c %.in.c.escaped combine Makefile + < $< ./combine $*.in.c.escaped > $@ + +all: cquine +cquine: cquine.c +cquine.c: cquine.in.c +cescape: cescape.c +combine: combine.c -- cgit v1.2.3-54-g00ecf