"Fossies" - the Fresh Open Source Software Archive

Member "quotactl-1.00/Makefile" (30 Oct 2005, 996 Bytes) of package /linux/privat/old/quotactl-1.00.tgz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 SRCDIR = .
    2 
    3 CC = gcc
    4 
    5 WARNINGS = -Wall -Wmissing-declarations -Wundef -Wimplicit -Wwrite-strings \
    6 	-W -Winline \
    7 	-Wstrict-prototypes -Wmissing-prototypes \
    8 	-Werror
    9 
   10 INCLUDES = -I $(SRCDIR)/include
   11 
   12 GIRAFFE_LIB = $(SRCDIR)/giraffe/giraffe.a
   13 
   14 default: all
   15 
   16 all: quotactl mkquota quotause/all
   17 
   18 mkquota quotactl:%:%.c $(GIRAFFE_LIB)
   19 	$(CC) $(WARNINGS) $(INCLUDES) -o $@ $^ $(CADD)
   20 
   21 $(GIRAFFE_LIB): FORCE
   22 	$(MAKE) -C $(dir $@) $(notdir $@)
   23 
   24 .PHONY: clean
   25 clean: quotause/clean giraffe/clean
   26 	rm --force mkquota quotactl
   27 
   28 .PHONY: distclean
   29 distclean: clean quotause/distclean giraffe/distclean
   30 	>Makefile.depend	
   31 
   32 .PHONY: quotause/all
   33 quotause/all:
   34 	$(MAKE) -C quotause all
   35 
   36 .PHONY: quotause/clean giraffe/clean
   37 quotause/clean giraffe/clean:
   38 	$(MAKE) -C $(dir $@) $(notdir $@)
   39 
   40 .PHONY: quotause/distclean giraffe/distclean
   41 quotause/distclean giraffe/distclean:
   42 	$(MAKE) -C $(dir $@) $(notdir $@)
   43 
   44 .PHONY: dep
   45 dep:
   46 	$(CC) -MM -MG -I. $(INCLUDES) *.c >Makefile.depend
   47 
   48 include Makefile.depend
   49 
   50 FORCE: