view Makefile @ 2:b16b82dbfe87

massive cleanup
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Wed, 05 Jan 2011 21:41:39 +0900
parents 05cc06e88a57
children 21d81701b5c4
line wrap: on
line source

APPS = rcctl
SRCS = rcctl.c cdcnv.c
OBJS = ${SRCS:.c=.o}
CC = gcc

CFLAGS = -O -Wall -g -I/usr/include/libusb-1.0
LDFLAGS = -lhid -lusb

all: $(APPS)

rcctl: $(OBJS)
	$(CC) -o $@ $^ $(LDFLAGS)

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