[L4alpha-cvscommit] CVS: L4Alpha-tools Makefile,1.2,1.3
Status: Beta
Brought to you by:
dpotts
|
From: Daniel P. <dp...@us...> - 2001-11-12 05:16:44
|
Update of /cvsroot/l4alpha/L4Alpha-tools
In directory usw-pr-cvs1:/tmp/cvs-serv10680
Modified Files:
Makefile
Log Message:
Added fixes from brett's tree for more friendly compiles. His comment is as follows:
Added an install target.
Also fixed standard ('all') target so you can actually type make more then once withit working.
Removed references to Simons and Dans home directories.
Changed C flags so it will compile using gcc (note the code uses a variable called 'inline' so its not going to compile on most compilers).
Index: Makefile
===================================================================
RCS file: /cvsroot/l4alpha/L4Alpha-tools/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Makefile 2000/11/27 04:22:12 1.2
--- Makefile 2001/11/12 05:16:39 1.3
***************
*** 2,11 ****
# Basic Makefile for tools...
#
- # 000314
#
all:
- rm -rf bin
- mkdir bin
make -C hal
make -C hal-ev5
--- 2,10 ----
# Basic Makefile for tools...
#
#
+ TOOL_PATH:=bin
+
all:
make -C hal
make -C hal-ev5
***************
*** 13,16 ****
--- 12,20 ----
make -C mapcvt
# make install -C sysgen
+
+ install: all
+ cp hal/hal $(TOOL_PATH)/hal
+ cp hal-ev5/hal $(TOOL_PATH)/hal-ev5
+ cp mapcvt/mapcvt $(TOOL_PATH)/mapcvt
clean:
|