The broken commits end
[sfinx.git] / lib / Makefile
blobb97b00c290942a7171f525a80e2410a85eaee13d
3 # Forms makefile
6 include ../Rules.Make
8 INCLUDES = -I$(IBPP_INCLUDES) -I$(FORMS_INCLUDES) -I$(FLTK_INCLUDES) \
9 -I$(COMMONCPP_INCLUDES) -I. -I../include
10 CFLAGS = $(OPTIMIZE) $(PROFILE) $(DEBUG) -Werror -Wall -D_REENTRANT \
11 -D_GNU_SOURCE -D_THREAD_SAFE $(INCLUDES)
12 LDFLAGS = $(LDFLAG) $(PROFILE)
13 OBJS = misc.o
15 .C.o:
16 $(CXX) -fPIC -MD $(CFLAGS) -c $< -o $@
18 all: ${ALLIBS}
19 dist: clean dep all
21 todo:
22 @setterm -foreground red
23 @cat TODO
24 @echo
26 ${ALLIBS}: $(OBJS)
27 $(AR) rcs $(LIBSTA) $(OBJS)
28 $(RANLIB) $(LIBSTA)
29 $(CXX) $(DEBUG) -shared -Wl,-soname,$(LIBLDD) -o $(LIBDYN) $(OBJS)
31 clean:
32 @rm -f *.o *.a *.so* core *.d *out *~ $(LIBDYN) $(LIBLDD) $(LIBSTA) DEAD*
34 -include $(wildcard *.d)
36 ###