~ubuntu-branches/ubuntu/raring/dds/raring

« back to all changes in this revision

Viewing changes to .pc/dds.cpp-openmp/Makefile

  • Committer: Package Import Robot
  • Author(s): Christoph Berg
  • Date: 2011-12-31 18:02:22 UTC
  • mfrom: (11.2.2 sid)
  • Revision ID: package-import@ubuntu.com-20111231180222-ftl7vynb2iftg16m
Tags: 2.1.2+ddd105-1
* New dds upstream version.
* Update watch file to mangle the ddd version to 1.0.5.
* Source format 3.0.
* Update to dh_python2, supporting multiple python versions in parallel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
CFLAGS=-g -Wall -O2
 
2
PREFIX=/usr/local
 
3
 
 
4
all: libdds.a python
 
5
 
 
6
dds.h:
 
7
        ln -s dll.h dds.h
 
8
 
 
9
dds.c:
 
10
        ln -s dds.cpp $@
 
11
 
 
12
dds.o: dds.c dds.h
 
13
 
 
14
libdds.a: dds.o
 
15
        ar rc $@ $^
 
16
        ranlib $@
 
17
 
 
18
install:
 
19
        install -d $(DESTDIR)$(PREFIX)/include $(DESTDIR)$(PREFIX)/lib
 
20
        install -m644 dll.h $(DESTDIR)$(PREFIX)/include/dds.h
 
21
        install libdds.a $(DESTDIR)$(PREFIX)/lib
 
22
 
 
23
clean:
 
24
        rm -f dds.o libdds.a dds.c dds.h