non/FL/makefile.inc

31 lines
536 B
Makefile

# -*- mode: makefile; -*-
VERSION := 1.1.0
PACKAGE := FL
all: FL
SRCS := $(wildcard FL/*.C FL/*.fl)
SRCS:=$(SRCS:.fl=.C)
SRCS:=$(sort $(SRCS))
OBJS:=$(SRCS:.C=.o)
all: FL/libfl_widgets.a ntk-chtheme
FL/libfl_widgets.a: $(OBJS)
@ ar rcs $@ $(OBJS)
.PHONEY: FL
FL: FL/libfl_widgets.a
ntk-chtheme: ntk-chtheme.o $(FLTK_LIBS) FL/libfl_widgets.a
@ echo -n Linking session handler.
@ $(CXX) $(CXXFLAGS) $^ -o $@ $(FLTK_LDFLAGS) $(LIBS) -LFL -lfl_widgets && echo $(DONE)
clean:
rm -f $(OBJS) FL/libfl_widgets.a .deps
install:
@