source: branches/minix3-book/drivers/libdriver/Makefile

Last change on this file 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
4u = /usr
5i = $u/include
6s = $i/sys
7b = $i/ibm
8m = $i/minix
9
10# Programs, flags, etc.
11CC = exec cc
12CFLAGS = -I$i
13LDFLAGS = -i
14LIBS = -lsysutil -lsys
15
16OBJECTS = driver.o drvlib.o
17
18all build install: $(OBJECTS)
19
20# $(CC) -c $@ $(LDFLAGS) $(OBJ) $(LIBS)
21
22clean:
23 rm -f *.o *.bak
24
25depend:
26 /usr/bin/mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
27
28# Include generated dependencies.
29include .depend
30
Note: See TracBrowser for help on using the repository browser.