blob: cd57be043012e3cdd337c7af8219a1a2cedaf7f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $NetBSD: Makefile.lib,v 1.3 2001/03/05 12:47:13 skrll Exp $
#
# Makefile rules for the Qwt Library
# ==================================
#
include $(QWTDIR)/Makefile.common
# GENERAL SETTINGS
#
LCXX = $(LIBTOOL) --mode=compile $(CXX)
INCLUDES = -I../include -I$(QTINC)
LLD = $(LIBTOOL) --mode=link $(CXX) -rpath ${X11BASE}/lib -version-info 0:2
#
# IMPLICIT RULES
#
%.lo: %.cpp
$(LCXX) $(CXXFLAGS) $(INCLUDES) -c $<
moc_%.cpp: %.h
$(MOC) -o $@ $<
#
# BUILD RULES
#
all: $(LIBSHARED)
$(LIBSHARED): $(OBJECTS:.o=.lo)
$(LLD) $(LDFLAGS) -o libqwt.la $(OBJECTS:.o=.lo)
clean:
-rm -f *.o *.so *.so.* *.a *~
depend:
makedepend $(QTINC) $(QWTINC) *.cpp
|