blob: 67b6e9fca83cc83641933b9dfd6a4fd65e3db48e [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001# 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