File: Makefile

package info (click to toggle)
hubcot 20010630-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 96 kB
  • ctags: 59
  • sloc: ansic: 236; makefile: 121; sh: 4
file content (23 lines) | stat: -rw-r--r-- 391 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# Makefile for HubCot driver and control program for Linux
#

TARGET= hubcot.o hubcot_ctl

INCLUDE= /usr/src/linux/include
KCFLAGS= -D__KERNEL__ -I$(INCLUDE) -Wall -Wstrict-prototypes -O2 \
         -fomit-frame-pointer -pipe -DMODULE

CC= gcc
CFLAGS= -I/usr/src/linux/include

all: $(TARGET)

hubcot.o: hubcot.c
	$(CC) -c $(KCFLAGS) $<

hubcot_ctl: hubcot_ctl.c


clean:
	rm -f $(TARGET)