DEBUG  := n
TARGET := pwmtach
OBJS   := pwmtach_drv.o

EXTRA_CFLAGS += -I$(PWD)/../../../../common/include/global 
EXTRA_CFLAGS += -I$(PWD)/../../../common/include/pwmtach
EXTRA_CFLAGS += -I$(PWD)/../../../../common/include/soc
EXTRA_CFLAGS += -Iibmc/include                                                                                                    

# Include projdef.h (Note : Here TOPDIR points to linux directory)
#EXTRA_CFLAGS += -include $(TOPDIR)/../projdef.h

#---------------- Do not modify any thing below this line ------------------------
ifeq ($(DEBUG),y)
  DEBFLAGS = -O -g -DDEBUG # "-O" is needed to expand inlines
else
  DEBFLAGS = -O2
endif
EXTRA_CFLAGS += $(DEBFLAGS)

obj-$(CONFIG_IBMC_PWMTACH)	:= $(TARGET).o
$(TARGET)-objs := $(OBJS)
