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.6 and 1.7

version 1.6, 2002/09/13 18:16:18 version 1.7, 2002/12/07 13:29:25
Line 9 
Line 9 
 #  #
   
 # $Id$  # $Id$
   # $Platon$
   
 PACKAGE = test  PACKAGE = test
 VERSION = 1.0  VERSION = 1.0
   
   unexport SUBDIRS
   unexport SUBDIR_OBJECTS
   unexport MAKEFILES
   unexport CONFIGURE_SCRIPTS
   export PACKAGE
   export VERSION
   
 # Directories {{{  # Directories {{{
   
 srcdir       = .  srcdir       = .
Line 25  top_builddir = .
Line 33  top_builddir = .
   
 # Targets {{{  # Targets {{{
   
   # if you have subdirectories with Makefiles,
   # add names of directories here
   SUBDIRS   =
   
 PROGRAM   = test  PROGRAM   = test
   
   # here add names of your source codes
 SOURCES   = $(srcdir)/test.c  SOURCES   = $(srcdir)/test.c
   
 OBJECTS   = $(top_builddir)/test.o  # name of objects and header files is created
   # _automaticaly_ from $(SOURCES) -- you don't need
 DEP_FILES = $(top_builddir)/.deps/test.P  # change this
   OBJECTS         = $(sort $(patsubst %.c,%.o,$(SOURCES)))
   include_HEADERS = $(sort $(patsubst %.c,%.h,$(SOURCES)))
   DEP_FILES       = $(sort $(patsubst %.c,.deps/%.P,$(SOURCES)))
   
 DISTFILES = Makefile \  DISTFILES = Makefile \
                         test.c                          $(SOURCES) $(include_HEADERS)
   
 CONFIG_HEADER   = $(top_builddir)/config.h  CONFIG_HEADER   = $(top_builddir)/config.h
   
Line 76  DEPS_MAGIC := $(shell mkdir .deps > /dev
Line 92  DEPS_MAGIC := $(shell mkdir .deps > /dev
 .s.o:  .s.o:
         $(COMPILE) -c $<          $(COMPILE) -c $<
   
 %.o: %.c $(CONFIG_HEADER)  %.o: %.c %.h $(CONFIG_HEADER)
         @echo '$(COMPILE) -c $<'; \          @echo '$(COMPILE) -c $<'; \
         $(COMPILE) -Wp,-MD,.deps/$(*F).pp -o $@ -c $<          $(COMPILE) -Wp,-MD,.deps/$(*F).pp -o $@ -c $<
         @-cp .deps/$(*F).pp .deps/$(*F).P; \          @-cp .deps/$(*F).pp .deps/$(*F).P; \
Line 85  DEPS_MAGIC := $(shell mkdir .deps > /dev
Line 101  DEPS_MAGIC := $(shell mkdir .deps > /dev
             >> .deps/$(*F).P; \              >> .deps/$(*F).P; \
         rm .deps/$(*F).pp          rm .deps/$(*F).pp
   
 clean:  #
   # False targets.
   #
   .PHONY: dummy
   
   #
   # A rule to do nothing
   #
   dummy:
   
   clean: clean-subdirs
         -rm -f *.o core          -rm -f *.o core
   
 .PHONY: sources  #
 sources:  # A rule to make subdirectories
         @echo $(SOURCES:%=cfg/%)  #
   subdir-list-all = $(sort $(patsubst %,_subdir_%,$(SUBDIRS)))
   all-subdirs: dummy $(subdir-list-all)
   
   ifdef SUBDIRS
   $(subdir-list-all) : dummy
           $(MAKE) -C $(patsubst _subdir_%,%,$@)
   endif
   
   #
   # A rule to make clean in subdirectories
   #
   subdir-list-clean = $(sort $(patsubst %,_subdir_clean_%,$(SUBDIRS)))
   clean-subdirs: dummy $(subdir-list-clean)
   
   ifdef SUBDIRS
   $(subdir-list-clean) : dummy
           $(MAKE) -C $(patsubst _subdir_clean_%,%,$@) clean
   endif
   
 # Distribution targets {{{  # Distribution targets {{{
 dist: distdir  dist: distdir

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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