home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-09-04 | 1.7 KB | 82 lines |
-
- ObjectFiles = \
- o.Attach \
- o.Menu2 \
- o.Msgs \
-
-
- LibName = Menu2
-
- # Template makefile which makes normal
- # .o files for use in the main static
- # linking DeskLib.
-
- # The macro $(ObjectFiles) should be set at the
- # start of this file to be a space-separated
- # list of object files.
- # This is done by 'Makatic'.
-
- # The macro $(LibName) should also be set at the
- # start of this file, to be the name of the
- # DeskLib sublibrary.
- # This is done by 'Makatic'.
-
- # Compiler and linker flags, These can be anything.
- # All essential flags are included in the macros
- # $(CC) and $(ASM)
- #
- CCFlags = -ffahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_$(LibName) -I,C:
- ASMFlags = -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
-
- CC = cc -c $(CCFlags)
- ASM = objasm $(ASMFlags)
-
-
- # -------------------------------------------------------
- # Everything below here should probably not be changed...
- # -------------------------------------------------------
-
- # Here's what we want to make...
- #
- All: $(ObjectFiles)
-
-
- VPATH = @.^
-
- .SUFFIXES: .c .s .o
-
- .c.o:
- $(CC) $< -o $@
-
- .s.o:
- $(ASM) -from $< -to $@
-
-
-
- # Dynamic dependencies:
- o.Attach: ^.c.Attach
- o.Attach: DeskLib:h.Event
- o.Attach: DeskLib:h.Core
- o.Attach: DeskLib:h.Wimp
- o.Attach: DeskLib:h.Menu2
- o.Attach: DeskLib:h.Menu
- o.Menu2: ^.c.Menu2
- o.Menu2: DeskLib:h.Icon
- o.Menu2: DeskLib:h.Wimp
- o.Menu2: DeskLib:h.Core
- o.Menu2: DeskLib:h.DragASpr
- o.Menu2: DeskLib:h.WimpSWIs
- o.Menu2: DeskLib:h.Event
- o.Menu2: DeskLib:h.Menu
- o.Menu2: DeskLib:h.Error
- o.Menu2: DeskLib:h.Debug
- o.Menu2: DeskLib:h.Menu2
- o.Msgs: ^.c.Msgs
- o.Msgs: DeskLib:h.Msgs
- o.Msgs: DeskLib:h.Core
- o.Msgs: DeskLib:h.Menu2
- o.Msgs: DeskLib:h.Menu
- o.Msgs: DeskLib:h.Wimp
- o.Msgs: DeskLib:h.Event
- o.Msgs: DeskLib:h.Str
-