Mercurial > hg > Papers > 2009 > pin-gn
view Makefile @ 2:4742b1e4da3a default tip
modify merge,
and remove eclipse, debug
author | one |
---|---|
date | Thu, 19 Feb 2009 01:26:01 +0900 |
parents | 39af8ab46cbb |
children |
line wrap: on
line source
MAKE=make -f Makefile LATEX=platex DVIPS=dvips DVIPDFM=dvipdfmx MAIN_TARGET=pin_gn PS_SUFFIX=.ps PDF_SUFFIX=.pdf .SUFFIXES: .tex .dvi all: dvi pdf dvi: @echo "========== MAKE DVI file ($(MAIN_TARGET).dvi) ==========" $(LATEX) $(MAIN_TARGET) $(LATEX) $(MAIN_TARGET) ps:dvi @echo "========== GENERATE PostScript (PS) ==========" $(DVIPS) $(MAIN_TARGET) pdf: dvi @echo "========== GENERATE PDF file ==========" # $(LATEX) $(MAIN_TARGET) > /dev/null $(DVIPDFM) $(MAIN_TARGET) clean: @echo "remove $(MAIN_TARGET)*{aux,log,toc,lof,lot,blg,bbl,ilg,idx,ind,dvi,ps,pdf,out}" @if [ -f $(MAIN_TARGET).aux ];\ then $(RM) $(MAIN_TARGET).aux;\ fi @if [ -f $(MAIN_TARGET).log ];\ then $(RM) $(MAIN_TARGET).log;\ fi @if [ -f $(MAIN_TARGET).toc ];\ then $(RM) $(MAIN_TARGET).toc;\ fi @if [ -f $(MAIN_TARGET).lof ];\ then $(RM) $(MAIN_TARGET).lof;\ fi @if [ -f $(MAIN_TARGET).lot ];\ then $(RM) $(MAIN_TARGET).lot;\ fi @if [ -f $(MAIN_TARGET).blg ];\ then $(RM) $(MAIN_TARGET).blg;\ fi @if [ -f $(MAIN_TARGET).bbl ];\ then $(RM) $(MAIN_TARGET).bbl;\ fi @if [ -f $(MAIN_TARGET).ilg ];\ then $(RM) $(MAIN_TARGET).ilg;\ fi @if [ -f $(MAIN_TARGET).idx ];\ then $(RM) $(MAIN_TARGET).idx;\ fi @if [ -f $(MAIN_TARGET).ind ];\ then $(RM) $(MAIN_TARGET).ind;\ fi @if [ -f $(MAIN_TARGET).dvi ];\ then $(RM) $(MAIN_TARGET).dvi;\ fi @if [ -f $(MAIN_TARGET).ps ];\ then $(RM) $(MAIN_TARGET).ps;\ fi @if [ -f $(MAIN_TARGET).pdf ];\ then $(RM) $(MAIN_TARGET).pdf;\ fi @if [ -f $(MAIN_TARGET).out ];\ then $(RM) $(MAIN_TARGET).out;\ fi veryclean: clean find ./ -name \*~ -exec rm -f {} \;