home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-10-26 | 1.3 KB | 86 lines |
- .AUTODEPEND
-
- # *Translator Definitions*
- CC = bcc +$(TARGET)l.cfg
- TASM = TASM
- TLIB = tlib
- TLINK = tlink
- LIBPATH = C:\BC45\LIB;
- INCLUDEPATH = C:\BC45\INCLUDE;..\include;..\..
-
- # *Implicit Rules*
- .cpp.obj:
- $(CC) -c { $< }
- .c.obj:
- $(CC) -c { $< }
- .asm.obj:
- $(TASM) /D__LARGE__ /ml /zi /o /i..\include { $< }
-
- .path.c = ..\source
- .path.asm = ..\source
-
-
- # *Explicit Rules*
- all: $(TARGET)l.lib move
- move: $(TARGET)l.lib ..\include\$(TARGET).h ..\include\$(TARGET).p
- move $(TARGET)l.lib ..\..
- copy ..\include\$(TARGET).h ..\..
- copy ..\include\$(TARGET).p ..\..
- clean:
- del *.obj *.cfg *.bak ..\source\*.bak ..\include\*.bak
- proto:
- protogen -f..\include\$(TARGET).p ..\source\*.c
-
- $(TARGET)l.lib: $(TARGET)l.cfg $(C_dependencies:.c=.obj) $(ASM_dependencies:.asm=.obj)
- del $(TARGET)l.lib
- $(TLIB) $(TARGET)l /C @&&|
- $(LIB_dependencies)
- |
- # *Compiler Configuration File*
- $(TARGET)l.cfg: ..\..\lib.mak
- del *.obj
- copy &&|
- -ml
- -v
- -G
- -O
- -Og
- -Oe
- -Om
- -Ov
- -Ol
- -Ob
- -Op
- -Oi
- -Z
- -vi
- -w-ret
- -w-nci
- -w-inl
- -wpin
- -wamb
- -wamp
- -w-par
- -wasm
- -wcln
- -w-cpt
- -wdef
- -w-dup
- -w-pia
- -wsig
- -wnod
- -w-ill
- -w-sus
- -wstv
- -wucp
- -wuse
- -w-ext
- -w-ias
- -w-ibc
- -w-pre
- -w-nst
- -w-pro
- -I$(INCLUDEPATH)
- -L$(LIBPATH)
- | $(TARGET)l.cfg
-