|
Last change
on this file since 305 was 237, checked in by root, 20 years ago |
|
common makefile prefix settings for all makefiles
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
|
File size:
523 bytes
|
| Line | |
|---|
| 1 | # makefile_pre.mk - common makefile prefix settings for all makefiles
|
|---|
| 2 | # $Id: makefile_pre.mk 237 2005-08-09 05:11:09Z root $
|
|---|
| 3 |
|
|---|
| 4 | LINK = ilink
|
|---|
| 5 |
|
|---|
| 6 | !ifndef DEBUG
|
|---|
| 7 | DEBUG = 0
|
|---|
| 8 | !endif
|
|---|
| 9 |
|
|---|
| 10 | CFLAGS = /G5 /Gm+ /Gs- /Gt- /IDLL /Mp /O- /Q+ /Sp4 /Ss /Ti+ /W3
|
|---|
| 11 |
|
|---|
| 12 | !if $(DEBUG)
|
|---|
| 13 | LFLAGS = /DE /ALIGN:4 /EXEPACK:2 /NOI /MAP /PMTYPE:PM /NOE
|
|---|
| 14 | !else
|
|---|
| 15 | LFLAGS = /ALIGN:4 /EXEPACK /MAP /NOI /PMTYPE:PM /NOE
|
|---|
| 16 | !endif
|
|---|
| 17 |
|
|---|
| 18 | # Includes can be in current director or dll subdirectory
|
|---|
| 19 | RCFLAGS = -i dll
|
|---|
| 20 |
|
|---|
| 21 | .SUFFIXES:
|
|---|
| 22 | .SUFFIXES: .c .rc .ipf
|
|---|
| 23 |
|
|---|
| 24 | .rc.res:
|
|---|
| 25 | $(RC) $(RCFLAGS) -r $*.RC
|
|---|
| 26 |
|
|---|
| 27 | .c.obj:
|
|---|
| 28 | $(CC) $(CFLAGS) /C $*.c
|
|---|
| 29 |
|
|---|
| 30 | # The end
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.