2010-07-22 02:58:05 -07:00
|
|
|
prefix = /usr
|
2010-07-22 02:58:05 -07:00
|
|
|
nosy-dump-version = 0.4
|
2010-07-22 02:58:05 -07:00
|
|
|
|
|
|
|
CC = gcc
|
|
|
|
|
|
|
|
all : nosy-dump
|
|
|
|
|
|
|
|
nosy-dump : CFLAGS = -Wall -O2 -g
|
2010-07-22 02:58:05 -07:00
|
|
|
nosy-dump : CPPFLAGS = -DVERSION=\"$(nosy-dump-version)\" -I../../drivers/firewire
|
2010-07-22 02:58:05 -07:00
|
|
|
nosy-dump : LDFLAGS = -g
|
|
|
|
nosy-dump : LDLIBS = -lpopt
|
|
|
|
|
|
|
|
nosy-dump : nosy-dump.o decode-fcp.o
|
|
|
|
|
|
|
|
clean :
|
|
|
|
rm -rf *.o nosy-dump
|
|
|
|
|
|
|
|
install :
|
|
|
|
install nosy-dump $(prefix)/bin/nosy-dump
|