diff options
Diffstat (limited to 'tools/firewire/Makefile')
-rw-r--r-- | tools/firewire/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tools/firewire/Makefile b/tools/firewire/Makefile new file mode 100644 index 000000000000..81767adaae7d --- /dev/null +++ b/tools/firewire/Makefile | |||
@@ -0,0 +1,19 @@ | |||
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 | ||