Lines 1-7
Link Here
|
1 |
INCL = $(INCLUDE) -I../ -I./ $(DEBUG) |
1 |
INCL = $(INCLUDE) -I../ -I./ $(DEBUG) |
2 |
CC = gcc |
2 |
CC ?= gcc |
|
|
3 |
CXX ?= |
3 |
DEBUG = -Wall -g -O0 |
4 |
DEBUG = -Wall -g -O0 |
4 |
LDFLAGS_ = $$LDFLAGS -L../fl_i18n |
5 |
LDFLAGS_ += -L../fl_i18n |
5 |
OY_LIBS := $(shell pkg-config oyranos libxml-2.0 --libs --cflags) |
6 |
OY_LIBS := $(shell pkg-config oyranos libxml-2.0 --libs --cflags) |
6 |
OY_FLAGS = -L../ $(OY_LIBS) |
7 |
OY_FLAGS = -L../ $(OY_LIBS) |
7 |
FLTK_FLAGS := $(shell fltk-config --ldflags --cxxflags | sed s/-O2//) -lpthread |
8 |
FLTK_FLAGS := $(shell fltk-config --ldflags --cxxflags | sed s/-O2//) -lpthread |
Lines 16-30
Link Here
|
16 |
|
17 |
|
17 |
oyranos-xforms: $(SRCDIR)oyranos_xforms.c |
18 |
oyranos-xforms: $(SRCDIR)oyranos_xforms.c |
18 |
echo "Compiling $(SRCDIR)$< + Linking $@ ..." |
19 |
echo "Compiling $(SRCDIR)$< + Linking $@ ..." |
19 |
gcc -Wall -g $(CFLAGS) $(INCL) $(SRCDIR)oyranos_xforms.c -o oyranos-xforms -pedantic $(OY_FLAGS) $(LDFLAGS_) |
20 |
$(CC) -Wall -g $(CFLAGS) $(INCL) $(SRCDIR)oyranos_xforms.c -o oyranos-xforms -pedantic $(OY_FLAGS) $(LDFLAGS_) |
20 |
|
21 |
|
21 |
oyranos-xforms-modules: $(SRCDIR)oyranos_xforms_modules.c |
22 |
oyranos-xforms-modules: $(SRCDIR)oyranos_xforms_modules.c |
22 |
echo "Compiling $(SRCDIR)$< + Linking $@ ..." |
23 |
echo "Compiling $(SRCDIR)$< + Linking $@ ..." |
23 |
gcc -Wall -g $(CFLAGS) $(INCL) $< -o $@ -pedantic $(OY_FLAGS) $(LDFLAGS_) |
24 |
$(CC) -Wall -g $(CFLAGS) $(INCL) $< -o $@ -pedantic $(OY_FLAGS) $(LDFLAGS_) |
24 |
|
25 |
|
25 |
oyranos-xforms-fltk: $(SRCDIR)oyranos_xforms_fltk.cxx $(SRCDIR)oyranos_forms_fltk.cxx $(SRCDIR)oyranos_widgets_fltk.cxx $(SRCDIR)oyranos_widgets_fltk.h |
26 |
oyranos-xforms-fltk: $(SRCDIR)oyranos_xforms_fltk.cxx $(SRCDIR)oyranos_forms_fltk.cxx $(SRCDIR)oyranos_widgets_fltk.cxx $(SRCDIR)oyranos_widgets_fltk.h |
26 |
echo "Compiling $(SRCDIR)$< + Linking $@ ..." |
27 |
echo "Compiling $(SRCDIR)$< + Linking $@ ..." |
27 |
-c++ $(LDFLAGS_) -Wall -g $(CXXFLAGS) $(INCL) $(SRCDIR)oyranos_xforms_fltk.cxx -o oyranos-xforms-fltk -pedantic -loyforms_fltk -lfl_i18n $(FLTK_FLAGS) $(OY_FLAGS) |
28 |
$(CXX) $(LDFLAGS_) -Wall -g $(CXXFLAGS) $(INCL) $(SRCDIR)oyranos_xforms_fltk.cxx -o oyranos-xforms-fltk -pedantic -loyforms_fltk -lfl_i18n $(FLTK_FLAGS) $(OY_FLAGS) |
28 |
|
29 |
|
29 |
|
30 |
|
30 |
# Build commands and filename extensions... |
31 |
# Build commands and filename extensions... |