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