blob: 81767adaae7d1514c41382921e22796f2feb473b [file] [log] [blame]
Stefan Richter9f6d3c42010-07-22 11:58:05 +02001prefix = /usr
Stefan Richterb20d02e2010-07-22 11:58:05 +02002nosy-dump-version = 0.4
Stefan Richter9f6d3c42010-07-22 11:58:05 +02003
4CC = gcc
5
6all : nosy-dump
7
8nosy-dump : CFLAGS = -Wall -O2 -g
Stefan Richterb20d02e2010-07-22 11:58:05 +02009nosy-dump : CPPFLAGS = -DVERSION=\"$(nosy-dump-version)\" -I../../drivers/firewire
Stefan Richter9f6d3c42010-07-22 11:58:05 +020010nosy-dump : LDFLAGS = -g
11nosy-dump : LDLIBS = -lpopt
12
13nosy-dump : nosy-dump.o decode-fcp.o
14
15clean :
16 rm -rf *.o nosy-dump
17
18install :
19 install nosy-dump $(prefix)/bin/nosy-dump