annotate input/Makefile @ 6542:7af3fcd76d2d

support dropping some chroma src lines for a bit extra speed
author michael
date Mon, 24 Jun 2002 01:05:41 +0000
parents ff38befe039c
children b69ddd4d3bb9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4418
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
1
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
2 include ../config.mak
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
3
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
4 LIBNAME = libinput.a
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
5
4432
5105f5da01d6 Added lirc support in input
albeu
parents: 4418
diff changeset
6 SRCS=input.c joystick.c lirc.c
4418
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
7 OBJS=$(SRCS:.c=.o)
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
8
4799
ff38befe039c EXTRA_INC added (Nexus)
arpi
parents: 4432
diff changeset
9 CFLAGS = $(OPTFLAGS) -I. -I.. $(EXTRA_INC) -Wall
4418
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
10
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
11 .SUFFIXES: .c .o
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
12
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
13
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
14 .c.o:
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
15 $(CC) -c $(CFLAGS) -o $@ $<
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
16
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
17 $(LIBNAME): $(OBJS)
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
18 $(AR) r $(LIBNAME) $(OBJS)
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
19
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
20 all: $(LIBNAME)
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
21
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
22 clean:
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
23 rm -f *.o *.a *~
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
24
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
25 distclean:
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
26 rm -f Makefile.bak *.o *.a *~ .depend
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
27
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
28 dep: depend
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
29
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
30 depend:
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
31 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
32
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
33 #
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
34 # include dependency files if they exist
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
35 #
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
36 ifneq ($(wildcard .depend),)
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
37 include .depend
8141d2c399e4 A new configurable input system and joystick support for this system
albeu
parents:
diff changeset
38 endif