commit d1edce71135cc6d98c0a4b5729774542b676e769 Author: sophgo-forum-service <forum_service@sophgo.com> Date: Fri Mar 15 16:07:33 2024 +0800 [fix] recommend using ssh method to clone repo. [fix] fix sensor driver repo branch name.
21 lines
394 B
Makefile
21 lines
394 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
prefix = /usr
|
|
nosy-dump-version = 0.4
|
|
|
|
CC = gcc
|
|
|
|
all : nosy-dump
|
|
|
|
nosy-dump : CFLAGS = -Wall -O2 -g
|
|
nosy-dump : CPPFLAGS = -DVERSION=\"$(nosy-dump-version)\" -I../../drivers/firewire
|
|
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
|