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
|
#ident @(#)rules.clr 1.5 99/08/28
###########################################################################
# Written 1996 by J. Schilling
###########################################################################
#
# Rules to make source tree clean
#
###########################################################################
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
###########################################################################
# Do not remove target if it is in the current directory
###########################################################################
RMTARGET= $(PTARGET:$(TARGET)%=%)
###########################################################################
clean:
$(RM) $(RM_FORCE) $(CLEAN_FILES) $(POFILES) \
$(PTARGETC) \
$(CLEAN_FILEX) \
$(PYOFILES) $(PLOFILES)
clobber: clean
$(RM) $(RM_FORCE) $(RMTARGET) $(PALLDEP_FILE) \
$(PTARGETC) \
$(CLOBBER_FILEX)
$(RM) $(RM_FORCE) $(ARCHDIR)/Dnull
distclean:
$(RM) $(RM_RF) $(CLEAN_FILES) \
.EDTMP *.bak OBJ/* \
$(SRCROOT)/libs/* $(SRCROOT)/incs/*
rmtarget:
$(RM) $(RM_FORCE) $(RMTARGET)
relink: rmtarget all
|