diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-12-29 18:57:21 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-12-29 18:57:21 -0800 |
commit | 0b6c09e067981c232cef09f0d82fb9b4a9864553 (patch) | |
tree | 9a7d1f3c866f25928fef88ed6481f9538a10ba94 | |
parent | fe79d64ca0f94720280a6755af29ceb1e5420518 (diff) | |
download | txr-0b6c09e067981c232cef09f0d82fb9b4a9864553.tar.gz txr-0b6c09e067981c232cef09f0d82fb9b4a9864553.tar.bz2 txr-0b6c09e067981c232cef09f0d82fb9b4a9864553.zip |
Makefile: way to clean only C sources.
* Makefile (clean-c): New target, complementary to clean-tlo,
to only clean the C object files, executables and related
materials, without touching the .tlo files.
(clean): Depend on clean-c; body entirely moved into clean-c.
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -363,7 +363,9 @@ distclean: else rebuild: clean $(PROG) -clean: conftest.clean clean-tlo +clean: conftest.clean clean-c clean-tlo + +clean-c: rm -f $(PROG)$(EXE) $(PROG)-dbg$(EXE) y.tab.c lex.yy.c y.tab.h y.output rm -f y.tab.h.old rm -f $(PROG)-win$(EXE) $(PROG)-win-dbg$(EXE) .build_id |