blob: 98c237c07a5d91bd6b51bbee8b780ee18f89d81f (
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 = signal1
BUILT_SOURCES = main.cpp
EXTRA_DIST = main.cpp \
$(NAME).mcp \
$(NAME).vcproj
CXXFLAGS = @CXXFLAGS@ \
@OPT_FLAGS@ \
@INCLUDEDIR@ \
-I../../source \
$(DEFS) \
-DFLEXT_SHARED
LDFLAGS = @LDFLAGS@ \
$(patsubst %,-framework %,$(FRAMEWORKS))
LIBS = @LIBS@ -lflext
FRAMEWORKS = @FRAMEWORKS@
TARGETDIR = @TARGETDIR@
TARGET =$(NAME).@EXTENSION@
OBJECTS = $(patsubst %.cpp,./%.@OBJEXT@,$(BUILT_SOURCES))
SYSDIR = @SYSDIR@
# ----------------------------- targets --------------------------------
all-local: $(OBJECTS)
$(CXX) $(LDFLAGS) ./*.@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
|