Compile new stuff.
[mediadatabase.git] / GNUmakefile
blob7d4af4f1a5fd54e9ba1fafe9fe63dedb748bf871
1 ##############################################################################
3 # $Id: GNUmakefile,v 1.3 2004/06/20 12:24:21 nedko Exp $
5 # DESCRIPTION:
6 # Top level Makefile for mediadatabase
8 # AUTHOR:
9 # Nedko Arnaudov <nedko@users.sourceforge.net>
11 # LICENSE:
12 # GNU GENERAL PUBLIC LICENSE version 2
14 ##############################################################################
16 SUBDIRS = libdb cui gtk libfrontend
18 .PHONY : default subdirs clean $(SUBDIRS)
20 default: subdirs
22 subdirs: $(SUBDIRS)
24 $(SUBDIRS):
25 @echo "------ Entering subdirectory $@"
26 @$(MAKE) --no-print-directory -C $@ $(TARGET)
27 @echo "------ Leaving subdirectory $@"
29 clean:
30 @echo "Cleaning ..."
31 @$(MAKE) --no-print-directory subdirs TARGET=clean
32 @echo "Cleaning done."
34 full_clean:
35 @echo "Cleaning (+ dependency fles) ..."
36 @$(MAKE) --no-print-directory subdirs TARGET=full_clean
37 @echo "Cleaning (+ dependency fles) done."
39 # Inter-subdir dependencies
40 cui: libdb libfrontend
41 gtk: libdb libfrontend
42 libfrontend: libdb
44 ##############################################################################
46 # Modifications log:
48 # !!! WARNING !!! Following lines are automatically updated by the CVS system.
50 # $Log: GNUmakefile,v $
51 # Revision 1.3 2004/06/20 12:24:21 nedko
52 # Use dependency files.
53 # Use common tool variables.
55 # Revision 1.2 2004/05/16 19:06:39 nedko
56 # build libfrontend and gtk frontend.
58 # Revision 1.1 2004/05/02 13:25:03 nedko
59 # Use makefile to build mediadatabase.
61 ##############################################################################