2008-05-16 22:52:10 +02:00
|
|
|
# -*- mode: makefile; -*-
|
2008-05-01 10:05:10 +02:00
|
|
|
|
2008-05-25 16:34:19 +02:00
|
|
|
FL/.sources:
|
|
|
|
@ echo "FL_SRCS=\\" > FL/.sources
|
|
|
|
@ git ls-files 'FL/*.C' | tr '\n' ' ' >> FL/.sources
|
|
|
|
@ git ls-files 'FL/*.fl' | tr '\n' ' ' >> FL/.sources
|
2008-05-01 10:05:10 +02:00
|
|
|
|
2008-05-25 16:34:19 +02:00
|
|
|
include FL/.sources
|
2008-05-01 10:05:10 +02:00
|
|
|
|
2008-05-25 16:34:19 +02:00
|
|
|
FL_SRCS:=$(FL_SRCS:.fl=.C)
|
|
|
|
FL_OBJS:=$(FL_SRCS:.C=.o)
|
2008-05-01 10:05:10 +02:00
|
|
|
|
2008-05-25 16:34:19 +02:00
|
|
|
all: FL/libfl_widgets.a
|
2008-05-01 10:05:10 +02:00
|
|
|
|
|
|
|
FL/libfl_widgets.a: $(FL_OBJS)
|
2008-05-16 22:52:10 +02:00
|
|
|
@ ar rcs $@ $(FL_OBJS)
|
2008-05-01 10:05:10 +02:00
|
|
|
|
|
|
|
.PHONEY: FL
|
|
|
|
FL: FL/libfl_widgets.a
|
|
|
|
|
|
|
|
FL_clean:
|
|
|
|
rm -f $(FL_OBJS) FL/libfl_widgets.a
|