diff options
author | Tomasz Kramkowski <tomasz@kramkow.ski> | 2024-11-12 13:36:10 +0000 |
---|---|---|
committer | Tomasz Kramkowski <tomasz@kramkow.ski> | 2024-11-12 13:36:10 +0000 |
commit | 8d51757e02818146b05c805b81e167f118fca7dc (patch) | |
tree | da5d2ae457f7255a403d9665a2777f6c225ba304 /Makefile | |
parent | 1fc39c620f2a9737851ef45ec77b2461ce1b7c30 (diff) | |
download | cquine-8d51757e02818146b05c805b81e167f118fca7dc.tar.gz cquine-8d51757e02818146b05c805b81e167f118fca7dc.tar.xz cquine-8d51757e02818146b05c805b81e167f118fca7dc.zip |
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
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 <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 |