Stefan Richter | 9f6d3c4 | 2010-07-22 11:58:05 +0200 | [diff] [blame^] | 1 | version = 0.3 |
2 | prefix = /usr | ||||
3 | |||||
4 | CC = gcc | ||||
5 | |||||
6 | all : nosy-dump | ||||
7 | |||||
8 | nosy-dump : CFLAGS = -Wall -O2 -g | ||||
9 | nosy-dump : CPPFLAGS = -DVERSION=\"$(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 |