summaryrefslogtreecommitdiff
path: root/Build/source/texk/msvc/clean.mak
blob: 916a2539811e1f717ac76a04ee5ad6205357b239 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
################################################################################
#
# Makefile  : Clean, remove build files
# Author    : Fabrice Popineau <Fabrice.Popineau@supelec.fr>
# Platform  : Win32, Microsoft VC++ 6.0, depends upon fpTeX 0.5 sources
# Time-stamp: <04/01/07 11:50:03 popineau>
#
################################################################################

!CMDSWITCHES +S

clean::
	-@echo $(verbose) & ( \
	echo Cleaning up exe and obj files in $(MAKEDIR) & \
	$(del) $(objdir)\*.* \
	) $(redir_stderr)

extraclean::
	-@echo $(verbose) & ( \
	echo Cleaning up files in $(MAKEDIR) & \
	$(del) *.aux *.bak *.bbl *.blg *.dvi *.log *.toc *.tfm *.vf *.vpl & \
	$(del) *.[0-9]*gf *.[0-9]*pk *.lj & \
	$(del) *.mpx *.i *.s *~ *.orig  *.rej \#* & \
	$(del) *.pbi *.pbo *.pbt *.pdb & \
	$(del) CONTENTS.tex a.out core mfput.* texput.* mpout.* & \
	$(del) *.cp *.fn *.ky *.pg *.tp *.vr *.op *.fl & \
	$(del) *.cps *.fns *.kys *.pg *.tps *.vrs & \
	$(del) config.status config.cache config.log ) 2>nul

distclean:: clean extraclean configclean
	-@echo $(verbose) & ( \
	echo Cleaning up distribution in $(MAKEDIR) & \
#	$(del) config.status config.log config.cache & \
#	$(del) stamp-* & \
	for %i in ($(objtargets)) do $(deldir) %i ) 2>nul

!if exist(c-auto.in)
configclean::
	-@echo $(verbose) & ( \
	echo Cleaning up configuration in $(MAKEDIR) & \
	$(del) c-auto.h ) 2>nul
!endif

!if exist(config.h.in) || exist(config.hin)
configclean::
	-@echo $(verbose) & ( \
	echo Cleaning up configuration in $(MAKEDIR) & \
	$(del) config.h ) 2>nul
!endif

configclean::

!CMDSWITCHES -S

# End of clean.mk.
#
# Local Variables:
# mode: Makefile
# End: