blob: 352a9c5c9f06296ca90e1af7f90e692e8f660daa (
plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
#
# Module: makefile
#
# Copyright (C) Altera Corporation 1998-2001
#
# Description: Makefile for JAM Bytecode Player
#
OBJS = \
jbistub.obj \
jbimain.obj \
jbicomp.obj \
jbijtag.obj
!IF "$(MEM_TRACKER)" != ""
!IF "$(STATIC_MEMORY_SIZE)" != ""
# MEMORY TRACKER ON, USE 'STATIC_MEMORY_SIZE' KB OF STATIC MEMORY
.c.obj::
cl /W4 /c /O2 /ML /DWINNT /DMEM_TRACKER /DUSE_STATIC_MEMORY=$(STATIC_MEMORY_SIZE) $<
!ELSE
# MEMORY TRACKER ON, USE DYNAMIC MEMORY
.c.obj::
cl /W4 /c /O2 /ML /DWINNT /DMEM_TRACKER $<
!ENDIF
!ELSE
!IF "$(STATIC_MEMORY_SIZE)" != ""
# MEMORY TRACKER OFF, USE 'STATIC_MEMORY_SIZE' KB OF STATIC MEMORY
.c.obj::
cl /W4 /c /O2 /ML /DWINNT /DUSE_STATIC_MEMORY=$(STATIC_MEMORY_SIZE) $<
!ELSE
# MEMORY TRACKER OFF, USE DYNAMIC MEMORY
.c.obj::
cl /W4 /c /O2 /ML /DWINNT $<
!ENDIF
!ENDIF
jbi.exe : $(OBJS)
link $(OBJS) advapi32.lib /out:jbi.exe
# Dependencies:
jbistub.obj : \
jbistub.c \
jbiport.h \
jbiexprt.h
jbimain.obj : \
jbimain.c \
jbiport.h \
jbiexprt.h \
jbijtag.h \
jbicomp.h
jamcomp.obj : \
jamcomp.c \
jbiport.h \
jbiexprt.h \
jbicomp.h
jbijtag.obj : \
jbijtag.c \
jbiport.h \
jbiexprt.h \
jbijtag.h
|