Annotation of sbbs/sbbs3/menuedit/makefile, revision 1.1

1.1     ! root        1: # Makefile
        !             2: 
        !             3: #########################################################################
        !             4: # Makefile for Synchronet BBS Menu Editor (menuedit)
        !             5: # For use with Borland C++ Builder 5+ or Borland C++ 5.5 for Win32      #
        !             6: # @format.tab-size 4                                                                                                   #
        !             7: #########################################################################
        !             8: 
        !             9: # $Id: Makefile,v 1.1.1.1 2004/07/20 02:09:21 rswindell Exp $
        !            10: 
        !            11: # Macros
        !            12: #DEBUG =       1                               # Comment out for release (non-debug) version
        !            13: #USE_FLTK=     1
        !            14: USE_UIFC32= 1
        !            15: CC             =       bcc32
        !            16: LD             =       ilink32
        !            17: SLASH  =       \\
        !            18: OFILE  =       obj
        !            19: EXEFILE        =       .exe
        !            20: EXEODIR        =       bcc.win32       # Executable output directory
        !            21: XPDEV  =       ..\..\xpdev
        !            22: UIFC   =       ..\..\uifc
        !            23: LIB    =       ..\..\..\lib
        !            24: INCLUDE        =       ..\..\..\include
        !            25: CFLAGS =       -M -I..;$(UIFC);$(XPDEV) 
        !            26: DELETE =       -@echo y | del 
        !            27: 
        !            28: .path.c = .;..;$(UIFC);$(XPDEV)
        !            29: .path.cpp = $(UIFC)
        !            30: 
        !            31: # Enable auto-dependency checking
        !            32: .autodepend
        !            33: .cacheautodepend       
        !            34: 
        !            35: # Optional compile flags (disable banner, warnings and such)
        !            36: CFLAGS =       $(CFLAGS) -q -d -H -X- -w-csu -w-pch -w-ccc -w-rch -w-par -w-pro -w-8004
        !            37: #-w-aus
        !            38: 
        !            39: # Debug or release build?
        !            40: !ifdef DEBUG
        !            41: CFLAGS =       $(CFLAGS) -v -Od -D_DEBUG 
        !            42: LFLAGS =       $(LFLAGS) -v
        !            43: EXEODIR        =       $(EXEODIR).debug
        !            44: !else
        !            45: EXEODIR        =       $(EXEODIR).release
        !            46: !endif
        !            47: LIBODIR =      $(EXEODIR)
        !            48: 
        !            49: # Cross platform/compiler definitions
        !            50: !include targets.mk    # defines all targets
        !            51: !include objects.mk    # defines $(OBJS)
        !            52: 
        !            53: !ifdef USE_UIFC32
        !            54: OBJS = $(OBJS) $(EXEODIR)\uifc32.$(OFILE)
        !            55: CFLAGS  =   $(CFLAGS) -DUSE_UIFC32
        !            56: !else
        !            57: OBJS = $(OBJS) $(EXEODIR)\uifc.$(OFILE)
        !            58: !endif
        !            59: 
        !            60: !ifdef USE_FLTK
        !            61: CFLAGS         = $(CFLAGS) -DUSE_FLTK -I$(INCLUDE)\fltk
        !            62: OBJS   = $(OBJS) $(EXEODIR)\uifcfltk.$(OFILE) $(LIB)/fltk/win32/fltk.lib
        !            63: !endif
        !            64: 
        !            65: # Implicit C Compile Rule for SCFG
        !            66: .c.$(OFILE):
        !            67:        @$(CC) $(CFLAGS) -n$(EXEODIR) -c $<
        !            68: 
        !            69: .cpp.$(OFILE):
        !            70:        @$(CC) $(CFLAGS) -n$(EXEODIR) -c $<
        !            71: 
        !            72: # Create output directory if it doesn't exist
        !            73: $(EXEODIR):
        !            74:        @if not exist $(EXEODIR) mkdir $(EXEODIR)
        !            75: 
        !            76: # MenuEdit Build Rule
        !            77: $(MENUEDIT): $(OBJS)
        !            78:        @echo Linking $@
        !            79:        @$(CC) $(CFLAGS) -e$@ $**
        !            80: 
        !            81: clean:
        !            82:        @echo Deleting $(EXEODIR)
        !            83:        $(QUIET)$(DELETE) $(EXEODIR)\*

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.