Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026

Diff for vimconfig/vim/templates/Makefile between version 1.3 and 1.4

version 1.3, 2002/02/24 05:13:26 version 1.4, 2002/08/08 23:39:43
Line 1 
Line 1 
 # Makefile for creating distribution  # Makefile for creating distribution of test package
 # Type 'make dist' for create tar-gziped archiv.  # Type 'make dist' for create tar-gziped archiv.
   
 #  #
Line 10 
Line 10 
 PACKAGE = test  PACKAGE = test
 VERSION = 1.0  VERSION = 1.0
   
   # Directories {{{
   
   srcdir       = .
   top_srcdir   = .
   distdir      = $(PACKAGE)-$(VERSION)
   top_distdir  = $(distdir)
   top_builddir = .
   
   # }}} Directories
   
   # Targets {{{
   
   SOURCES   = $(srcdir)/test.c
   
   OBJECTS   = $(top_builddir)/test.o
   
   DEP_FILES = $(top_builddir)/.deps/test.P
   
 DISTFILES = test \  DISTFILES = test \
                         test/test.c                          test/test.c
   
   CONFIG_HEADER   = $(top_builddir)/config.h
   
 ########################################  # }}} Targets
 # Don't change anything below this line!  
 #  
   
 #TAR = gtar  
 TAR = tar  
 ZIP = zip  
 ZIP_ENV = -r9  
 GZIP_ENV = --best  
   
   # Programs {{{
   
 srcdir = .  TAR      = tar
 distdir = $(PACKAGE)-$(VERSION)  ZIP      = zip
 top_distdir = $(distdir)  ZIP_ENV  = -r9
 top_builddir = .  GZIP_ENV = --best
   
   CC       = @CC@
   CPP      = @CPP@
   CXX      = @CXX@
   #DEBUG_FLAGS = -g -ggdb -DDEBUG
   CFLAGS   = -O2 -Wall -Wshadow -pedantic $(DEBUG_FLAGS)
   CPPFLAGS = @CPPFLAGS@
   LDFLAGS  = @LDFLAGS@
   DEFS     = @DEFS@
   INCLUDES = -I$(srcdir) -I$(top_builddir)
   
   
   COMPILE  = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
   CCLD     = $(CC)
   LINK     = $(CCLD) $(CFLAGS) $(LDFLAGS) -o $@
   
   # }}} Programs
   
   all: $(PROGRAM)
   
   $(PROGRAM): $(OBJECTS)
           $(LINK) $(OBJECTS) $(LIBS)
   
   DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
   #-include $(DEP_FILES)
   
   .s.o:
           $(COMPILE) -c $<
   
   %.o: %.c $(CONFIG_HEADER)
           @echo '$(COMPILE) -c $<'; \
           $(COMPILE) -Wp,-MD,.deps/$(*F).pp -o $@ -c $<
           @-cp .deps/$(*F).pp .deps/$(*F).P; \
           tr ' ' '\012' < .deps/$(*F).pp \
             | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
               >> .deps/$(*F).P; \
           rm .deps/$(*F).pp
   
   .PHONY: sources
   sources:
           @echo $(SOURCES:%=cfg/%)
   
   # Distribution targets {{{
 dist: distdir  dist: distdir
         GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)          GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
         ZIP=$(ZIP_ENV) $(ZIP) $(distdir).zip $(distdir)          ZIP=$(ZIP_ENV) $(ZIP) $(distdir).zip $(distdir)
Line 58  distdir: $(DISTFILES)
Line 112  distdir: $(DISTFILES)
           fi; \            fi; \
         done          done
   
   # }}}
   
   # vim600: fdm=marker fdc=3
   

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top