Changeset 238 for trunk/makefile


Ignore:
Timestamp:
Aug 9, 2005, 7:11:38 AM (20 years ago)
Author:
root
Message:

Add bitmap dependencies
Add makeres support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/makefile

    r211 r238  
    1 # makefile - build fm/2
     1# makefile - build all fm/2 components
    22# $Id$
    33
    4 # 21 Nov 03 SHL Comments
    54# 24 May 05 SHL Add clean and cleanobj target
    65# 16 Jun 05 SHL Workaround makeflags wierdness
     6# 18 Jul 05 SHL Add bitmap dependencies
     7# 20 Jul 05 SHL Add makeres support
    78
    89# Environment:
     
    1213BASE = fm3
    1314
    14 !INCLUDE makefile_pre.mk
     15!include makefile_pre.mk
    1516
    16 ALL: DLL $(BASE) MAK
     17all: dll $(BASE) mak
    1718
    18 DLL:
     19# Only update resources
     20res:
     21  @echo Updating resources only
     22  $(MAKE) /nologo /$(MAKEFLAGS) MAKERES=1
     23
     24# make DLL components
     25
     26dll:
    1927  cd dll
    2028  $(MAKE) /nologo /$(MAKEFLAGS)
    2129  cd ..
    2230
    23 $(BASE): $(BASE).EXE \
    24      $(BASE).res
     31$(BASE): $(BASE).exe $(BASE).res
    2532
    26 $(BASE).res: $(BASE).rc \
    27      $(BASE).h
     33$(BASE).res: $(BASE).rc  $(BASE).h bitmaps\*.bmp
    2834
    29 $(BASE).obj: $(BASE).c \
    30      $(BASE).h dll\version.h
     35$(BASE).obj: $(BASE).c $(BASE).h dll\version.h
    3136
    32 MAK: *.mak
    33   !$(MAKE) /NOLOGO /f $?
     37# make EXE compenents
     38
     39mak: *.mak
     40  !$(MAKE) /NOLOGO /$(MAKEFLAGS) /f $?
    3441
    3542cleanobj:
     
    4956  -del fm3res.str
    5057
    51 !INCLUDE makefile_post.mk
     58!include makefile_post.mk
    5259
    5360# The end
Note: See TracChangeset for help on using the changeset viewer.