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

Subversion Repositories or1k

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 673 markom
#
2
# Microwindows 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
xCFLAGS=-W1 -DUPDATEREGIONS=1 -DERASEMOVE=1
8
CFLAGS=-W1 -DERASEMOVE=1
9
LFLAGS=/NOI
10
LIBDIR=c:\tools\msc5
11
 
12
SERV=mwin\winmain.obj mwin\winuser.obj mwin\wingdi.obj mwin\winexpos.obj\
13
        mwin\winclip.obj mwin\winevent.obj mwin\windefw.obj mwin\list.obj\
14
        engine\devdraw.obj engine\devmouse.obj engine\devkbd.obj\
15
        engine\devclip.obj\
16
        engine\devpal1.obj engine\devpal2.obj engine\devpal4.obj\
17
        mwin\winlib\draw3d.obj mwin\winlib\fastfill.obj mwin\winlib\insetr.obj\
18
        mwin\winlib\ptinsid.obj mwin\winlib\graph3d.obj
19
VGA_NEW=drivers\vgaplan4.obj drivers\mempl4.obj
20
VGA_OLD=drivers\asmplan4.obj
21
VGA_HWINIT=drivers\vgainit.obj
22
DRIVERS=drivers\scr_bios.obj drivers\romfont.obj drivers\kbd_bios.obj\
23
        drivers\mou_dos.obj drivers\asmbios.obj $(VGA_NEW)
24
DEMO=demos\mwin\demo.obj mwin\winctl\button.obj mwin\bmp\cs1.obj
25
OBJS=$(SERV) $(DRIVERS) $(DEMO)
26
LIBS=
27
 
28
all: mwindemo
29
 
30
clean:
31
        erase *.map
32
        erase mwindemo.exe
33
        erase drivers\*.obj
34
        erase demos\mwin\*.obj
35
        erase engine\*.obj
36
        erase mwin\*.obj
37
        erase mwin\bmp\*.obj
38
        erase mwin\winctl\*.obj
39
        erase mwin\winlib\*.obj
40
 
41
 
42
.c.obj:
43
        $(CC) $(CFLAGS) -Fo$@ $<
44
 
45
drivers\asmbios.obj: drivers\asmbios.s
46
        cd drivers
47
        masm -Dmem_S -D__MEDIUM__ -Mx asmbios.s;;;
48
        cd ..
49
 
50
drivers\asmplan4.obj: drivers\asmplan4.s
51
        cd drivers
52
        masm -Dmem_S -D__MEDIUM__ -Mx asmplan4.s;;;
53
        cd ..
54
 
55
mwindemo: $(OBJS)
56
        @set LIB=$(LIBDOS)
57
        link @<<
58
$(LFLAGS) /NOE+
59
$(OBJS: =+^
60
)
61
mwindemo
62
mwindemo/map/stack:3000/seg:256/f/packc:50000
63
$(LIBS) $(LIBDIR)\mlibce
64
nul
65
<<
66
 

powered by: WebSVN 2.1.0

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