~ubuntu-branches/debian/jessie/dxflib/jessie

« back to all changes in this revision

Viewing changes to .pc/build-system.patch/test/Makefile

  • Committer: Package Import Robot
  • Author(s): Scott Howard
  • Date: 2013-12-13 16:41:48 UTC
  • mfrom: (8.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20131213164148-m20ph2ja1d4vlxv4
Tags: 2.5.0.0-2
Merge from experimental to unstable. (Closes: #731577)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
prefix =        /usr/local
 
3
exec_prefix =   ${prefix}
 
4
bindir =        ${exec_prefix}/bin
 
5
 
 
6
OBJF =          main.o \
 
7
            test_creationclass.o
 
8
EXTERN_LIBS = -L../lib -ldxflib -L/usr/X11R6/lib -lX11
 
9
INCLUDES = -I../src
 
10
 
 
11
all: main
 
12
 
 
13
clean:
 
14
        @echo "Cleaning project..."
 
15
        @find . -name '*.o' -exec rm "{}" \;
 
16
        @if [ -f test ]; then rm -f test; fi
 
17
 
 
18
distclean: clean
 
19
        rm -f config.log config.cache Makefile config.status
 
20
 
 
21
main: $(OBJF)
 
22
        c++ -o test $(OBJF) $(EXTERN_LIBS)
 
23
 
 
24
%.o : %.cpp
 
25
        $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -O3 -Wall $< -o $@
 
26
 
 
27
doc :
 
28
        @echo "Building documentation"
 
29
        @doxygen doxy.cfg