missing dot
[mplayer/greg.git] / input / Makefile
blobe0d6890cbd4be47890675a1577a12e9ceb7724b8
2 include ../config.mak
4 LIBNAME = libinput.a
6 SRCS=input.c joystick.c lirc.c
7 OBJS=$(SRCS:.c=.o)
9 CFLAGS = $(OPTFLAGS) -I. -I.. $(EXTRA_INC)
11 .SUFFIXES: .c .o
14 .c.o:
15 $(CC) -c $(CFLAGS) -o $@ $<
17 $(LIBNAME): $(OBJS)
18 $(AR) r $(LIBNAME) $(OBJS)
19 $(RANLIB) $(LIBNAME)
21 all: $(LIBNAME)
23 clean:
24 rm -f *.o *.a *~
26 distclean:
27 rm -f Makefile.bak *.o *.a *~ .depend
29 dep: depend
31 depend:
32 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
35 # include dependency files if they exist
37 ifneq ($(wildcard .depend),)
38 include .depend
39 endif