source: trunk/makefile_pre.mk@ 536

Last change on this file since 536 was 481, checked in by root, 19 years ago

More case sanity

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 578 bytes
Line 
1# makefile_pre.mk - common makefile prefix settings for all makefiles
2# $Id: makefile_pre.mk 481 2006-09-01 21:52:07Z root $
3
4# 01 Sep 06 SHL Adjust .res case
5
6LINK = ilink
7
8!ifndef DEBUG
9DEBUG = 0
10!endif
11
12CFLAGS = /G5 /Gm+ /Gs- /Gt- /IDLL /Mp /O- /Q+ /Sp4 /Ss /Ti+ /W3
13
14!if $(DEBUG)
15LFLAGS = /DE /ALIGN:4 /EXEPACK:2 /NOI /MAP /PMTYPE:PM /NOE
16!else
17LFLAGS = /ALIGN:4 /EXEPACK /MAP /NOI /PMTYPE:PM /NOE
18!endif
19
20# Includes can be in current director or dll subdirectory
21RCFLAGS = -i dll
22
23.SUFFIXES:
24.SUFFIXES: .c .rc .ipf
25
26.rc.res:
27 $(RC) $(RCFLAGS) -r $*.rc
28 ren $*.res $*.res
29
30.c.obj:
31 $(CC) $(CFLAGS) /C $*.c
32
33# The end
Note: See TracBrowser for help on using the repository browser.