File: Makefile

package info (click to toggle)
alsa-driver 1.0.8-7sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 15,840 kB
  • ctags: 43,253
  • sloc: ansic: 257,429; sh: 18,021; makefile: 1,741; perl: 1,316; python: 1,280; xml: 448; awk: 66
file content (47 lines) | stat: -rw-r--r-- 715 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#
# Makefile for ALSA driver
# Copyright (c) 1994-98 by Jaroslav Kysela <perex@suse.cz>
#

TOPDIR  = ..

ifeq ($(TOPDIR)/Makefile.conf,$(wildcard $(TOPDIR)/Makefile.conf))
include $(TOPDIR)/Makefile.conf
else
CC = gcc
INCLUDE = -I../include
endif

TARGETS = dummy

.c.o:
	$(CC) $(INCLUDE) -Wall -g -c -o $*.o $<

all: $(TARGETS)

.PHONY: dummy
dummy:

mod-deps: mod-deps.o
	$(CC) -g $(INCLUDE) mod-deps.o -o $@

kredirect: kredirect.o
	$(CC) $(INCLUDE) kredirect.o -o $@

clean:
	rm -f core .depend *.o kredirect mod-deps

mrproper:
	rm -f *.orig *.rej *~ .#*

.depend:
	$(CPP) $(INCLUDE) *.c > .depend

dummy:

#
# include a dependency file if one exists
#
ifeq (.depend,$(wildcard .depend))
include .depend
endif