blob: 409ef472a0be12f2ec8586125d58934e887816b4 (
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
|
#
# 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)" && "$(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) $<
%elseif "$(MEM_TRACKER)" && !"$(STATIC_MEMORY_SIZE)"
# MEMORY TRACKER ON, USE DYNAMIC MEMORY
.c.obj :
cl /W4 /c /O2 /ML /DWINNT /DMEM_TRACKER $<
%elseif !"$(MEM_TRACKER)" && "$(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 !"$(MEM_TRACKER)" && !"$(STATIC_MEMORY_SIZE)"
# MEMORY TRACKER OFF, USE DYNAMIC MEMORY
.c.obj :
cl /W4 /c /O2 /ML /DWINNT $<
%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
|