Mercurial > rcctl_linux
annotate Makefile @ 2:b16b82dbfe87
massive cleanup
| author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
|---|---|
| date | Wed, 05 Jan 2011 21:41:39 +0900 |
| parents | 05cc06e88a57 |
| children | 21d81701b5c4 |
| rev | line source |
|---|---|
| 2 | 1 APPS = rcctl |
| 0 | 2 SRCS = rcctl.c cdcnv.c |
| 2 | 3 OBJS = ${SRCS:.c=.o} |
| 0 | 4 CC = gcc |
| 5 | |
| 2 | 6 CFLAGS = -O -Wall -g -I/usr/include/libusb-1.0 |
|
1
05cc06e88a57
modified to make use of libhid to access the device
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
0
diff
changeset
|
7 LDFLAGS = -lhid -lusb |
| 0 | 8 |
| 2 | 9 all: $(APPS) |
| 10 | |
| 11 rcctl: $(OBJS) | |
| 12 $(CC) -o $@ $^ $(LDFLAGS) | |
| 0 | 13 |
|
1
05cc06e88a57
modified to make use of libhid to access the device
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
0
diff
changeset
|
14 clean: |
|
05cc06e88a57
modified to make use of libhid to access the device
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
0
diff
changeset
|
15 rm -f *.o $(TARGET) |
