History

make clean work when LIBTCC1 not defined

Don't call make -C lib clean if LIBTCC1 is not defined, else make clean fails (for example of arm).

Thomas Preud'homme committed 15 years ago

Commit 921f0021 parent 7391cf01 file · +2 −0Browse files

Unified · Split

Makefile+2−0
@@ -337,7 +337,9 @@ tar: · 336 unmodified lines
337337 clean:
338338 rm -vf $(PROGS) tcc_p$(EXESUF) tcc.pod *~ *.o *.a *.so* *.out *.exe libtcc_test$(EXESUF)
339339 $(MAKE) -C tests $@
340+ifneq ($(LIBTCC1),)
340341 $(MAKE) -C lib $@
342+endif
341343
342344 distclean: clean
343345 rm -vf config.h config.mak config.texi tcc.1 tcc-doc.info tcc-doc.html

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t