1# SPDX-License-Identifier: GPL-2.0
2prefix = /usr
3nosy-dump-version = 0.4
4
5CC = gcc
6
7all : nosy-dump
8
9nosy-dump : CFLAGS = -Wall -O2 -g
10nosy-dump : CPPFLAGS = -DVERSION=\"$(nosy-dump-version)\" -I../../drivers/firewire
11nosy-dump : LDFLAGS = -g
12nosy-dump : LDLIBS = -lpopt
13
14nosy-dump : nosy-dump.o decode-fcp.o
15
16clean :
17	rm -rf *.o nosy-dump
18
19install :
20	install nosy-dump $(prefix)/bin/nosy-dump
21