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