summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 34b780b795e1eef1ac0dd9ea0940a8010a9e6498 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# SPDX-FileCopyrightText: 2024 Tomasz Kramkowski <tomasz@kramkow.ski>
# 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