Makefile
上传用户:wudi5211
上传日期:2010-01-21
资源大小:607k
文件大小:1k
- # Comment/uncomment the following line to enable/disable debugging
- #DEBUG = y
- # This Makefile has been simplified as much as possible, by putting all
- # generic material, independent of this specific directory, into
- # ../Rules.make. Read that file for details
- TOPDIR := $(shell cd ..; pwd)
- include $(TOPDIR)/Rules.make
- ifeq ($(DEBUG),y)
- DEBFLAGS = -O -g
- else
- DEBFLAGS = -O2
- endif
- CFLAGS += $(DEBFLAGS) -I..
- OBJS = usbsample.o
- all: $(OBJS)
- install:
- install -d $(INSTALLDIR)
- install -c usbsample.o $(INSTALLDIR)
- clean:
- rm -f *.o *~ core