2008-05-16 22:52:10 +02:00
|
|
|
# -*- mode: makefile; -*-
|
2008-05-01 10:05:10 +02:00
|
|
|
|
2012-03-04 05:13:59 +01:00
|
|
|
VERSION := 1.1.0
|
|
|
|
PACKAGE := FL
|
|
|
|
|
2009-12-25 01:57:34 +01:00
|
|
|
all: FL
|
|
|
|
|
2012-03-04 05:13:59 +01:00
|
|
|
SRCS := $(wildcard FL/*.C FL/*.fl)
|
2008-05-01 10:05:10 +02:00
|
|
|
|
2012-03-04 05:13:59 +01:00
|
|
|
SRCS:=$(SRCS:.fl=.C)
|
|
|
|
SRCS:=$(sort $(SRCS))
|
|
|
|
OBJS:=$(SRCS:.C=.o)
|
2008-05-01 10:05:10 +02:00
|
|
|
|
2012-04-11 08:59:12 +02:00
|
|
|
all: FL/libfl_widgets.a ntk-chtheme
|
2008-05-01 10:05:10 +02:00
|
|
|
|
2012-03-04 05:13:59 +01:00
|
|
|
FL/libfl_widgets.a: $(OBJS)
|
|
|
|
@ ar rcs $@ $(OBJS)
|
2008-05-01 10:05:10 +02:00
|
|
|
|
|
|
|
.PHONEY: FL
|
|
|
|
FL: FL/libfl_widgets.a
|
|
|
|
|
2012-04-11 08:59:12 +02:00
|
|
|
ntk-chtheme: ntk-chtheme.o $(FLTK_LIBS) FL/libfl_widgets.a
|
|
|
|
@ echo -n Linking session handler.
|
|
|
|
@ $(CXX) $(CXXFLAGS) $(FLTK_LDFLAGS) $(LIBS) $^ -o $@ -LFL -lfl_widgets && echo $(DONE)
|
|
|
|
|
2012-03-04 05:13:59 +01:00
|
|
|
clean:
|
2012-03-06 04:06:13 +01:00
|
|
|
rm -f $(OBJS) FL/libfl_widgets.a .deps
|
2012-03-04 05:13:59 +01:00
|
|
|
|
|
|
|
install:
|
2012-04-11 08:59:12 +02:00
|
|
|
@
|