comparison Makefile @ 11:1ee15e2dc386 default tip

added support for macosx
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Fri, 30 Nov 2012 22:10:10 +0900
parents 83b2f2fc3d4b
children
comparison
equal deleted inserted replaced
10:83b2f2fc3d4b 11:1ee15e2dc386
2 APPS = rcctl 2 APPS = rcctl
3 SRCS = rcctl.c cdcnv.c 3 SRCS = rcctl.c cdcnv.c
4 OBJS = ${SRCS:.c=.o} 4 OBJS = ${SRCS:.c=.o}
5 CC = gcc 5 CC = gcc
6 6
7 CFLAGS = -O0 -Wall -g -I/usr/include/libusb-1.0 7 #CFLAGS = -O0 -Wall -g -I/usr/include/libusb-1.0
8 CFLAGS = -O0 -Wall -g -I/usr/local/include/libusb-1.0
8 LDFLAGS = -lhid -lusb 9 LDFLAGS = -lhid -lusb
9 10
10 all: $(APPS) 11 all: $(APPS)
11 12
12 rcctl: $(OBJS) 13 rcctl: $(OBJS)