Last change
on this file since 23 was 4, checked in by Mattia Monga, 14 years ago |
Importazione sorgenti libro
|
File size:
437 bytes
|
Rev | Line | |
---|
[4] | 1 | # Makefile for PCI bus library
|
---|
| 2 |
|
---|
| 3 | # Directories
|
---|
| 4 | u = /usr
|
---|
| 5 | i = $u/include
|
---|
| 6 | s = $i/sys
|
---|
| 7 | b = $i/ibm
|
---|
| 8 | m = $i/minix
|
---|
| 9 |
|
---|
| 10 | # Programs, flags, etc.
|
---|
| 11 | CC = exec cc
|
---|
| 12 | CFLAGS = -I$i
|
---|
| 13 | LDFLAGS = -i
|
---|
| 14 | LIBS = -lsys -lsysutil
|
---|
| 15 |
|
---|
| 16 | OBJECTS = pci.o pci_table.o
|
---|
| 17 |
|
---|
| 18 | all build install: $(OBJECTS)
|
---|
| 19 |
|
---|
| 20 | # $(CC) -c $@ $(LDFLAGS) $(OBJ) $(LIBS)
|
---|
| 21 |
|
---|
| 22 | clean:
|
---|
| 23 | rm -f *.o *.bak
|
---|
| 24 |
|
---|
| 25 | depend:
|
---|
| 26 | /usr/bin/mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
|
---|
| 27 |
|
---|
| 28 | # Include generated dependencies.
|
---|
| 29 | include .depend
|
---|
| 30 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.