-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (30 loc) · 925 Bytes
/
Makefile
File metadata and controls
37 lines (30 loc) · 925 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#BHEADER**********************************************************************
# # This file is part of BootCMatch.
# #
# # $release: 1.0 $
# #EHEADER**********************************************************************
include ./make.inc
##################################################################
# Targets
# ##################################################################
LIBNAME=libBCM.a
all: libdir includedir libs
libdir:
(if test ! -d lib ; then mkdir lib; fi)
includedir:
(if test ! -d include ; then mkdir include; fi; )
libs: msrc
/bin/mv $(LIBNAME) lib
###################################################################
# Rules
# ##################################################################
#
msrc:
( cd SRC; $(MAKE) LIBNAME=$(LIBNAME))
mtest:
( cd Test; $(MAKE) )
clean:
( cd include; /bin/rm -f *.h)
( cd lib; /bin/rm -f *.a)
( cd SRC; $(MAKE) clean)
( cd Test; $(MAKE) clean)