Last change
on this file since 25 was 4, checked in by Mattia Monga, 14 years ago |
Importazione sorgenti libro
|
File size:
435 bytes
|
Line | |
---|
1 | # Makefile for driver 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 = -lsysutil -lsys
|
---|
15 |
|
---|
16 | OBJECTS = driver.o drvlib.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.