source: trunk/minix/drivers/ti1225/Makefile@ 20

Last change on this file since 20 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 709 bytes
RevLine 
[9]1# Makefile for the Texas Instruments PCI1225 PC Card controller driver (ti1225)
2DRIVER = ti1225
3
4# directories
5u = /usr
6i = $u/include
7s = $i/sys
8m = $i/minix
9b = $i/ibm
10d = ..
11
12# programs, flags, etc.
13CC = exec cc
14CFLAGS = -I$i
15LDFLAGS = -i
16LIBS = -lsys -lsysutil -ltimers
17
18OBJ = ti1225.o
19
20# build local binary
21all build: $(DRIVER)
22$(DRIVER): $(OBJ)
23 $(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
24 install -S 4096 $(DRIVER)
25
26# install with other drivers
27install: /usr/sbin/$(DRIVER)
28/usr/sbin/$(DRIVER): $(DRIVER)
29 install -o root -cs $? $@
30
31# clean up local files
32clean:
33 rm -f *.o *.bak $(DRIVER)
34
35depend:
36 /usr/bin/mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
37
38# Include generated dependencies.
39include .depend
40
Note: See TracBrowser for help on using the repository browser.