File: Makefile

package info (click to toggle)
damapper 0.0+git20200322.b2c9d7f-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 608 kB
  • sloc: ansic: 12,457; makefile: 55; sh: 23
file content (24 lines) | stat: -rw-r--r-- 656 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 = -O3 -Wall -Wextra -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -z now

ALL = damapper HPC.damapper

all: $(ALL)

damapper: damapper.c map.c map.h align.c align.h DB.c DB.h QV.c QV.h
	$(CC) $(CFLAGS) $(shell dpkg-buildflags --get CFLAGS) -o damapper damapper.c map.c align.c DB.c QV.c -lpthread -lm

HPC.damapper: HPC.damapper.c DB.c DB.h QV.c QV.h
	$(CC) $(CFLAGS) $(shell dpkg-buildflags --get CFLAGS) -o HPC.damapper HPC.damapper.c DB.c QV.c -lm

clean:
	rm -f $(ALL)
	rm -fr *.dSYM
	rm -f damapper.tar.gz

install:
	mkdir bin/
	cp -f $(ALL) bin/

package:
	make clean
	tar -zcf damapper.tar.gz README.md LICENSE *.h *.c Makefile