blob: c361a450627aff3471f0462f07b9606eb6e7a40c (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
|
#
# automake template
# added by tim blechmann
#
NAME = thread2
BUILT_SOURCES = main.cpp
EXTRA_DIST = main.cpp \
$(NAME).cw \
$(NAME).dsp \
$(NAME).vcproj
CXXFLAGS = @CXXFLAGS@ \
@OPT_FLAGS@ \
@INCLUDEDIR@ \
-I../../source \
$(DEFS)
LDFLAGS = @LDFLAGS@ \
$(patsubst %,-framework %,$(FRAMEWORKS))
LIBS = @LIBS@
FRAMEWORKS = @FRAMEWORKS@
TARGETDIR = @TARGETDIR@
TARGET =$(NAME).@EXTENSION@
OBJECTS = $(patsubst %.cpp,./%.@OBJEXT@,$(BUILT_SOURCES))
SYSDIR = @SYSDIR@
# ----------------------------- targets --------------------------------
all-local: $(OBJECTS)
$(CXX) $(LDFLAGS) -shared ./*.@OBJEXT@ $(LIBS) -o ../$(TARGETDIR)/$(TARGET)
strip --strip-unneeded ../$(TARGETDIR)/$(TARGET)
./%.@OBJEXT@ : %.cpp
$(CXX) -c $(CXXFLAGS) $< -o $@
clean-local:
rm -f ../$(TARGETDIR)/$(TARGET)
rm -f ./$(OBJECTS)
install-exec-local:
install ../$(TARGET) $(SYSDIR)extra
|