Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Stefan Richter | 9f6d3c4 | 2010-07-22 11:58:05 +0200 | [diff] [blame] | 2 | prefix = /usr |
Stefan Richter | b20d02e | 2010-07-22 11:58:05 +0200 | [diff] [blame] | 3 | nosy-dump-version = 0.4 |
Stefan Richter | 9f6d3c4 | 2010-07-22 11:58:05 +0200 | [diff] [blame] | 4 | |
| 5 | CC = gcc |
| 6 | |
| 7 | all : nosy-dump |
| 8 | |
| 9 | nosy-dump : CFLAGS = -Wall -O2 -g |
Stefan Richter | b20d02e | 2010-07-22 11:58:05 +0200 | [diff] [blame] | 10 | nosy-dump : CPPFLAGS = -DVERSION=\"$(nosy-dump-version)\" -I../../drivers/firewire |
Stefan Richter | 9f6d3c4 | 2010-07-22 11:58:05 +0200 | [diff] [blame] | 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 |