RE: [gtkmm] Help compiling with gmake
- From: Dale Hirt <dale sbcltd com>
- To: "Gtkmm Mailing List (E-mail)" <gtkmm-list gnome org>
- Subject: RE: [gtkmm] Help compiling with gmake
- Date: Tue, 1 Oct 2002 08:23:51 -0700
Maya,
Are you using gtkmm 1.3 or 1.2?
If 1.2, there should be no problems, except for your CFLAGS which should be:
#Flagas
CFLAGS=-Wall -g 'gtkmm-config --cflags`
If you're using 1.3, you need to use
CFLAGS=`pkg-config gtkmm-2.0 --cflags`
and
LDLIBS=`pkg-config gtkmm-2.0 --libs`
Dale
-----Original Message-----
From: Maya [mailto:escalante canada com]
Sent: Monday, September 30, 2002 7:40 AM
To: GTKmm list
Subject: [gtkmm] Help compiling with gmake
I am not sure why I am not being able to compile using the following
'Makefile' file:
# Gtk Make file
# Compiler name
CC=gcc
#Libraries to be included
LDLIBS=`gtkmm-config --libs'
#Flagas
CFLAGS=-Wall -g 'gtkmm --cflags --clibs`
#Objects
OBJS=foo.o bar.o
#Executable
EXEC = app
my_app: $(OBJS)
$(CC) $(LDLIBS) $(OBJS) -o $(EXEC)
foo.o: foo.C bar.H
$(CC) $(CFLAGS) -c foo.C
bar.o: bar.H
$(CC) $(CFLAGS) -c bar.C
PHONY: clean
clean:
rm -f *.o
Any body?
--
You cannot exercise your power to a point of humiliation of others.
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]