summaryrefslogtreecommitdiff
path: root/other/burneye/tmp/PE-Crypt-1.02/makefile
blob: 85e182d0fd4a429a52eb338d6f3d891357b9c870 (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
# make -B                 Will build pe-crypt.exe
# make -B -DDEBUG         Will build the debug version of pe-crypt.exe

NAME = PE-Crypt
OBJS = $(NAME).obj
DEF  = $(NAME).def
RES  = $(NAME).res

!if $d(DEBUG)
TASMDEBUG=/zi
LINKDEBUG=/v
!else
TASMDEBUG=
LINKDEBUG=
!endif

!if $d(MAKEDIR)
IMPORT=$(MAKEDIR)\..\lib\import32 aplib.lib
!else
IMPORT=import32
!endif


$(NAME).EXE: $(OBJS) $(DEF)
  @tlink32 /V4.0 /Tpe /aa /c -x $(LINKDEBUG) $(OBJS),$(NAME),, $(IMPORT), $(DEF), $(RES) 
  @del $(OBJS)

.asm.obj:
   @tasm32 $(TASMDEBUG) /ml /m /kh10000 $&.asm
#   @brc32 -r $&.res