1 ##############################################################################
3 # $Id: GNUmakefile,v 1.2 2004/05/03 20:48:48 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
-g
24 OBJECTS
= $(SOURCES
:%.c
=%.o
)
26 # until we have dependencies it is better to rebuild each time
32 $(TOOL_PREFIX
)echo
"Compiling $< to $@ ..."
33 $(CC
) $(CFLAGS
) $< -o
$@
37 -$(TOOL_PREFIX
)rm $(OBJECTS
) 2>/dev
/null
; echo
-n
38 -$(TOOL_PREFIX
)rm mdb_cui
2>/dev
/null
; echo
-n
43 $(TOOL_PREFIX
)echo
"Linking $@"
44 $(LINK
) $(OBJECTS
) ..
/libdb
/libdb.a
-lmysqlclient
-lcfl
-o
$@
46 ##############################################################################
50 # !!! WARNING !!! Following lines are automatically updated by the CVS system.
52 # $Log: GNUmakefile,v $
53 # Revision 1.2 2004/05/03 20:48:48 nedko
54 # configuration file and update mode for cui
56 # Revision 1.1 2004/05/02 13:24:36 nedko
57 # Use makefile to build cui frontend(s).
59 ##############################################################################