summaryrefslogtreecommitdiff
path: root/utils/nwztools/scsitools/Makefile
blob: 41ffce33b11c4b0249ea9acc3c1e2ef242c02dd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
DEFINES=
CC=gcc
LD=gcc
NWZ_DB_DIR=../database
INCLUDES=-I$(NWZ_DB_DIR)
CFLAGS=-std=c99 -W -Wall $(DEFINES) $(INCLUDES)
LDFLAGS=-lsgutils2
BINS=scsitool

all: $(BINS)

scsitool: scsitool.c misc.c para_noise.c $(NWZ_DB_DIR)/nwz_db.c
	$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)

clean:
	rm -rf $(BINS)