#=============================================================
#
#	UNARJ.MAK - Makefile for project C:\User\Work\unarj\unarj.PRJ
#		Created on 11/11/96 at 00:53
#
#=============================================================

.AUTODEPEND

#=============================================================
#		Translator Definitions
#=============================================================
CC = bcc +UNARJ.CFG
TASM = tasm.exe
TLIB = tlib.exe
TLINK = tlink
RC = brcc.exe
RB = rc.exe
LIBPATH = C:\LANGS\BCOS2\LIB
INCLUDEPATH = C:\LANGS\BCOS2\INCLUDE


#=============================================================
#		Implicit Rules
#=============================================================
.c.obj:
  $(CC) -c {$< }

.cpp.obj:
  $(CC) -c {$< }

.asm.obj:
  $(TASM) -Mx $*.asm,$*.obj

.rc.res:
  $(RC) -r $*.rc

#=============================================================
#		List Macros
#=============================================================


EXE_DEPENDENCIES =  \
 environ.obj \
 decode.obj \
 unarj.obj

#=============================================================
#		Explicit Rules
#=============================================================
unarj.exe: unarj.cfg $(EXE_DEPENDENCIES)
  $(TLINK) /v /Toe /ap /L$(LIBPATH) @&&|
C:\LANGS\BCOS2\LIB\C02.OBJ+
environ.obj+
decode.obj+
unarj.obj
unarj,unarj
C:\LANGS\BCOS2\LIB\C2.LIB+
C:\LANGS\BCOS2\LIB\OS2.LIB

|


#=============================================================
#		Individual File Dependencies
#=============================================================
environ.obj: unarj.cfg environ.c 

decode.obj: unarj.cfg decode.c 

unarj.obj: unarj.cfg unarj.c 

#=============================================================
#		Compiler Configuration File
#=============================================================
clean:
   del *.obj
   ren unarj.exe unarj.exe.old
# for HPFS only. Sorry but FAT is SUXX and die with Borg ;)

unarj.cfg: unarj.mak
  copy &&|
-4
-Oi
-Oz
-Ob
-Oe
-Oc
-L$(LIBPATH)
-I$(INCLUDEPATH)
-vi-
-k-
-O
-Ot
-a
| unarj.cfg


