Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | pj | 1 | # Standard library for X/COFF applications |
2 | # Makefile for GNU MAKE & GCC 2.8.0 |
||
3 | |||
4 | ifndef BASE |
||
5 | BASE = .. |
||
6 | BASEDOS = .. |
||
7 | endif |
||
8 | |||
9 | include $(BASE)/config.mk |
||
10 | |||
11 | all: mbdemo.xtn timetest.xtn eventdem.xtn vmdemo.xtn \ |
||
12 | ctxswdem.xtn scheddem.xtn cpudemo.xtn biosdemo.xtn \ |
||
13 | asdemo.xtn |
||
14 | |||
15 | %.ftp: %.xtn |
||
16 | ncftpput -u ll -p example thorin . $< |
||
17 | %.flp: %.xtn |
||
18 | mcopy $< a: |
||
19 | |||
20 | clean : |
||
21 | $(RM) *.o |
||
22 | $(RM) *.err |
||
23 | $(RM) *.xtn |
||
24 | |||
25 | # |
||
26 | # Demo |
||
27 | # |
||
28 | |||
29 | %.xtn : %.o $(LIB_PATH)/libhc.a $(LIB_PATH)/libhm.a $(LIB_PATH)/libhx.a $(LIB_PATH)/libkl.a |
||
30 | $(LD) $(LINK_OPT) $(LIB_PATH)x0.o $< --start-group -lhc -lhm -lhx -lkl --end-group -o $@ |
||
31 | # $(LD) $(LINK_OPT) $(LIB_PATH)x0.o $< --start-group -lhc -lhx -lkl --end-group -o $@ |