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 | 0d1bdf15d5b8a5e788d977f83c98d92bcc21e791 (patch) | |
tree | 9a7d1f3c866f25928fef88ed6481f9538a10ba94 | |
parent | fd7ea1067e101d2a58030c37620c8f1099a2258b (diff) | |
download | txr-0d1bdf15d5b8a5e788d977f83c98d92bcc21e791.tar.gz txr-0d1bdf15d5b8a5e788d977f83c98d92bcc21e791.tar.bz2 txr-0d1bdf15d5b8a5e788d977f83c98d92bcc21e791.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 |