mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
nwztools/scsitools: use new SCSI library
Change-Id: I1b5688ba7ad99c7a22ba4532c8237b4563e4a9e4
This commit is contained in:
parent
86e745a25e
commit
76c73c707a
2 changed files with 45 additions and 95 deletions
|
|
@ -1,15 +1,18 @@
|
|||
SCSI_DIR=../../scsi
|
||||
DEFINES=
|
||||
CC=gcc
|
||||
LD=gcc
|
||||
PREFIX?=
|
||||
CC=$(PREFIX)gcc
|
||||
LD=$(PREFIX)gcc
|
||||
NWZ_DB_DIR=../database
|
||||
INCLUDES=-I$(NWZ_DB_DIR)
|
||||
INCLUDES=-I$(NWZ_DB_DIR) -I$(SCSI_DIR)
|
||||
CFLAGS=-std=c99 -W -Wall $(DEFINES) $(INCLUDES)
|
||||
LDFLAGS=-lsgutils2
|
||||
LDFLAGS=-L$(SCSI_DIR) -lrbscsi
|
||||
BINS=scsitool
|
||||
|
||||
all: $(BINS)
|
||||
|
||||
scsitool: scsitool.c misc.c para_noise.c $(NWZ_DB_DIR)/nwz_db.c
|
||||
$(MAKE) -C $(SCSI_DIR)
|
||||
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue