How to compile theme engine for GTK1.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

I have to make some minor changes in the graphical representation of my
GTK1.2 embedded application.
Therefore, I have coded (got a small existing one and changed it) a small
theme-engine.
I' m totally innocent to stuff like "makefiles", ...
The makefile for my main GTK-application works (its an executable), but
I don't know how to compile a gmodule (without automake, autoconf, ...)

I want to do something like this (my makefile-style is very ugly):

SOURCES= ./thinice_theme_main.c ./thinice_theme_draw.c

CC=path_to_embedded_compiler
CFLAGS='$(TARGET_BIN)/gtk-config --cflags' -o2 -ggdb -Wall
LFLAGS='$(TARGET_BIN)/gtk-config --libs' -Wall

OBJECTS=$(SOURCES:.c=.o)

all: themeengine

themeengine: $(OBJECTS)
 $(CC) $(LFLAGS) $(CFLAGS) $^ -o $@


For this module, it's even ok, when I compile, link (and whatever is 
also nessessary) the module
with hardcoded lines.
The main question is about the right options and tools to use....

Thanks for help,
Markus

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux