Makefile 394 Bytes
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
2
prefix = /usr
3
nosy-dump-version = 0.4
4 5 6 7 8 9

CC = gcc

all : nosy-dump

nosy-dump : CFLAGS = -Wall -O2 -g
10
nosy-dump : CPPFLAGS = -DVERSION=\"$(nosy-dump-version)\" -I../../drivers/firewire
11 12 13 14 15 16 17 18 19 20
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