Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, March 28, 2024

File: [Platon] / libplaton / utils / phone-list / compile.sh (download)

Revision 1.1, Wed Aug 16 21:22:44 2006 UTC (17 years, 7 months ago) by nepto

Added phone-list (tel-zozn) into CVS

#!/bin/sh

#
# compile.sh
#
# Developed by Ondrej Jombik <nepto@platon.sk>
# Copyright (c) 2004 Platon SDG, http://platon.sk/
# Licensed under terms of GNU General Public License.
# All rights reserved.
#
# Changelog:
# 2004-05-09 - created
#

# $Platon$

if [ ! -f queries.txt ]; then
    echo "queries.txt file does not exists, refusing to compile";
    exit 1;
fi;

gcc -Wall -pedantic \
    -I ~/prog/libplaton/ \
    -L ~/prog/libplaton/platon/ \
    -o db-replication db-replication.c shared.c \
    -lmysqlclient -ldb -lplaton \
&& \
gcc -Wall -pedantic \
    -I ~/prog/libplaton/ \
    -L ~/prog/libplaton/platon/ \
    -o telzozn telzozn.c shared.c \
    -ldb -lplaton \
&& \
gcc -g -Wall -W -Wpointer-arith -Wbad-function-cast \
    -Wwrite-strings -Wstrict-prototypes -Wno-unused \
    -Wmissing-prototypes `pkg-config --cflags gtk+-2.0` \
    -o telzozn-gtk telzozn-gtk.c \
    `pkg-config --libs gtk+-2.0`
                

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