OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [mw/] [src/] [mcnanox.mak] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 673 markom
#
2
# Nano-X Makefile for MSDOS using Microsoft C 5.10
3
#
4
# Copyright (c) 1999 Greg Haerr 
5
#
6
CC=cl -c -Gs -Ols -AM -I. -Ic:\tools\msc5\include
7
CFLAGS=-W1 -DNONETWORK=1
8
LFLAGS=/NOI
9
LIBDIR=c:\tools\msc5
10
 
11
SERV=nanox\srvmain.obj nanox\srvfunc.obj nanox\srvutil.obj nanox\srvevent.obj\
12
        engine\devdraw.obj engine\devmouse.obj engine\devkbd.obj\
13
        engine\devclip.obj\
14
        engine\devpal1.obj engine\devpal2.obj engine\devpal4.obj
15
VGA_NEW=drivers\vgaplan4.obj drivers\mempl4.obj
16
VGA_OLD=drivers\asmplan4.obj
17
VGA_HWINIT=drivers\vgainit.obj
18
DRIVERS=drivers\scr_bios.obj drivers\romfont.obj drivers\kbd_bios.obj\
19
        drivers\mou_dos.obj drivers\asmbios.obj $(VGA_NEW)
20
xDEMO=demos\nanox\demo.obj nanox\stubs.obj
21
DEMO=demos\nanox\landmine.obj nanox\stubs.obj
22
xDEMO=demos\nanox\world.obj nanox\stubs.obj
23
xDEMO=test.obj
24
OBJS=$(SERV) $(DRIVERS) $(DEMO)
25
LIBS=
26
 
27
all: nanox
28
 
29
clean:
30
        erase *.map
31
        erase nanox.exe
32
        erase nanox\*.obj
33
        erase engine\*.obj
34
        erase drivers\*.obj
35
        erase demos\nanox\*.obj
36
 
37
.c.obj:
38
        $(CC) $(CFLAGS) -Fo$@ $<
39
 
40
drivers\asmbios.obj: drivers\asmbios.s
41
        cd drivers
42
        masm -Dmem_S -D__MEDIUM__ -Mx asmbios.s;;;
43
        cd ..
44
 
45
drivers\asmplan4.obj: drivers\asmplan4.s
46
        cd drivers
47
        masm -Dmem_S -D__MEDIUM__ -Mx asmplan4.s;;;
48
        cd ..
49
 
50
nanox: $(OBJS)
51
        @set LIB=$(LIBDOS)
52
        link @<<
53
$(LFLAGS) /NOE+
54
$(OBJS: =+^
55
)
56
nanox
57
nanox/map/stack:16384/seg:256/f/packc:50000
58
$(LIBS) $(LIBDIR)\mlibce
59
nul
60
<<
61
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.