view Makefile @ 1:05cc06e88a57

modified to make use of libhid to access the device
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Fri, 24 Dec 2010 15:28:04 +0900
parents e1a1a181c0d7
children b16b82dbfe87
line wrap: on
line source

# $Id: Makefile,v 1.1 2002/12/21 01:13:27 tosy Exp $

TARGET = rcctl
SRCS = rcctl.c cdcnv.c
OBJS = rcctl.o cdcnv.o
CC = gcc

# for debug build
CFLAGS = -O -Wall -g -DVERBOSE -DDEBUG -I/usr/include/libusb-1.0
# for release build
#CFLAGS = -O -Wall
LDFLAGS = -lhid -lusb

all: $(OBJS)
	$(CC) -o $(TARGET) $(OBJS) $(LDFLAGS)

clean:
	rm -f *.o $(TARGET)