panic() cleanup.
[minix.git] / drivers / amddev / Makefile
blob7a10e61567786677472e1a68516de25ebb71ef46
1 # Makefile for AMD's DEV
2 DRIVER = amddev
4 # programs, flags, etc.
5 CC = exec cc
6 CFLAGS = $(CPROFILE)
7 LDFLAGS = -i
8 LIBS = -lsys
10 OBJ = amddev.o
12 # build local binary
13 all build: $(DRIVER)
14 $(DRIVER): $(OBJ)
15 $(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
16 install -S 320k $(DRIVER)
18 # install with other drivers
19 install: /usr/sbin/$(DRIVER)
20 /usr/sbin/$(DRIVER): $(DRIVER)
21 install -o root -cs $? $@
23 # clean up local files
24 clean:
25 rm -f *.o *.bak $(DRIVER)
27 depend:
28 mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend