1 ##############################################################################
3 # $Id: GNUmakefile,v 1.1 2004/05/02 13:24:36 nedko Exp $
6 # Makefile for console mediadatabase frontends
9 # Nedko Arnaudov <nedko@users.sourceforge.net>
12 # GNU GENERAL PUBLIC LICENSE version 2
14 ##############################################################################
18 CC
= $(TOOL_PREFIX
)gcc
-c
-Wall
19 LINK
= $(TOOL_PREFIX
)gcc
23 OBJECTS
= $(SOURCES
:%.c
=%.o
)
25 # until we have dependencies it is better to rebuild each time
31 $(TOOL_PREFIX
)echo
"Compiling $< to $@ ..."
32 $(CC
) $(CFLAGS
) $< -o
$@
36 -$(TOOL_PREFIX
)rm $(OBJECTS
) 2>/dev
/null
; echo
-n
37 -$(TOOL_PREFIX
)rm addcd
2>/dev
/null
; echo
-n
42 $(TOOL_PREFIX
)echo
"Linking $@"
43 $(LINK
) $(OBJECTS
) ..
/libdb
/libdb.a
-lmysqlclient
-o
$@
45 ##############################################################################
49 # !!! WARNING !!! Following lines are automatically updated by the CVS system.
51 # $Log: GNUmakefile,v $
52 # Revision 1.1 2004/05/02 13:24:36 nedko
53 # Use makefile to build cui frontend(s).
55 ##############################################################################