lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | prefix = /usr |
2 | nosy-dump-version = 0.4 | ||||
3 | |||||
4 | CC = gcc | ||||
5 | |||||
6 | all : nosy-dump | ||||
7 | |||||
8 | nosy-dump : CFLAGS = -Wall -O2 -g | ||||
9 | nosy-dump : CPPFLAGS = -DVERSION=\"$(nosy-dump-version)\" -I../../drivers/firewire | ||||
10 | nosy-dump : LDFLAGS = -g | ||||
11 | nosy-dump : LDLIBS = -lpopt | ||||
12 | |||||
13 | nosy-dump : nosy-dump.o decode-fcp.o | ||||
14 | |||||
15 | clean : | ||||
16 | rm -rf *.o nosy-dump | ||||
17 | |||||
18 | install : | ||||
19 | install nosy-dump $(prefix)/bin/nosy-dump |