File: Makefile

package info (click to toggle)
dds 2.5.2%2Bddd105-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 1,456 kB
  • sloc: cpp: 8,945; ansic: 281; python: 89; makefile: 87
file content (24 lines) | stat: -rw-r--r-- 407 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
CFLAGS=-g -Wall -O2 -std=gnu99 -fopenmp
PREFIX=/usr/local

all: libdds.a python

dds.h:
	ln -s dll.h dds.h

dds.c:
	ln -s dds.cpp $@

dds.o: dds.c dds.h

libdds.a: dds.o
	ar rc $@ $^
	ranlib $@

install:
	install -d $(DESTDIR)$(PREFIX)/include $(DESTDIR)$(PREFIX)/lib
	install -m644 dll.h $(DESTDIR)$(PREFIX)/include/dds.h
	install libdds.a $(DESTDIR)$(PREFIX)/lib

clean:
	rm -f dds.o libdds.a dds.c dds.h