#include "../Config"

NAME = ascd

#ifdef MIXER
MIXERFLAGS = '-DDEFAULTMIXERDEVICE=$(MIXERDEVICE)' -DMIXER
#else
MIXERFLAGS = 
#endif

MOREFLAGS= -I/usr/local/include -I/usr/X11R6/include -L/usr/local/lib

CCOPTIONS = $(MOREFLAGS) $(MIXERFLAGS) $(DRIVER_OPTIONS) \
'-DVERSION=$(VERSION)' \
'-DDEFAULTDEVICE=$(CDDEVICE)' \
'-DDEFAULT_COLOUR=$(FOREGROUND_LED)' \
'-DDEFAULT_BGCOLOUR=$(BACKGROUND_LED)'

LOCAL_LIBRARIES = $(XLIB) -lXpm -lm -L../lib -lworkman
DEPLIBS = $(DEPXLIB) ../lib/libworkman.a

SRCS = ascd.c
OBJS = ascd.o

AllTarget($(NAME))
NormalProgramTarget($(NAME),$(OBJS),NullParameter,$(LOCAL_LIBRARIES),NullParameter)
InstallProgram($(NAME),$(BINDIR))
InstallManPage($(NAME),$(MANDIR))
