Ignore:
Timestamp:
Oct 29, 2023, 11:05:48 PM (22 months ago)
Author:
gyoung
Message:

Changes to build pmcddb.exe with VAC 3.08. This builds but doesn't run no error returned

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mediafolder/c/cddb/makefile

    r112 r127  
    33include ../../../make.inc
    44
    5 CC           = gcc
    6 CPPFLAGS     = -O -Wno-write-strings -Zomf -Zcrtdll -s
     5CC           = icc
     6#CPPFLAGS     = -O -Wno-write-strings -Zomf -Zcrtdll -s
    77#CPPFLAGSSTATIC     = -O -Zomf -Zsys -Zmt -s
    8 
     8CPPFLAGS        =  /Ge+ /Gm+ /G5 /Ss /Gl /O+ /Oc+ /Ol- /Q+ /Ti /Gx- /Sp4 /B"/pmtype:pm /ma /De"
    99CPPFLAGSVAC  = /Ge- /Gm+ /G4 /Gl- /O+ /Oc+ /Ol- /Q+
    1010INC             = ../../include
     
    1717BINDIR          =       ../../dist/bin
    1818HELPERDIR       =       ..\helper
    19 OBJECTS         =       cddb.o \
    20                         cd.o \
    21                         helper.o \
    22                         cddbhelper.o \
    23                         message.o
     19OBJECTS         =       cddb.obj \
     20                        cd.obj \
     21                        helper.obj \
     22                        cddbhelper.obj \
     23                        message.obj
    2424LIBOBJECTS      = $(LIBDIR)/sys_funcs.obj
    2525
     
    7171
    7272$(LIBDIR)/%.obj:        $(COMMONSRC)/%.c
    73         $(CC) -c -Wall -o$@ -Zomf -I$(INC) -I$(MOREINC) $<
     73#       $(CC) -c -Wall -o$@ -Zomf -I$(INC) -I$(MOREINC) $<
     74        $(CC) $(CPPFLAGS) /C+ -I$(INC) -I$(MOREINC) /Fo$@ $<
     75cd.obj: cd.c
     76#               gcc -c $< -I$(INC) -Zcrtdll -Zomf
     77                $(CC) $(CPPFLAGS) /C+ -I$(INC) /Fo$@ $<
     78helper.obj:     helper.c
     79#               gcc -c $< -I$(INC) -Zcrtdll -Zomf
     80                $(CC) $(CPPFLAGS) /C+ -I$(INC) /Fo$@ $<
     81message.obj:    message.c
     82#               gcc -c $< -I$(INC) -Zcrtdll -Zomf
     83                $(CC) $(CPPFLAGS) /C+ -I$(INC) /Fo$@ $<
     84pmcddb.exe:     pmcddb.cpp $(OBJECTS) $(LIBOBJECTS) $(CDDBOBJ) $(INC)\cddb.h $(INC)\cddb.hh
     85        $(CC) $(CPPFLAGS) -I$(INC) -I$(MOREINC) $< $(LIBOBJECTS) $(OBJECTS) $(CDDBOBJ) so32dll.lib TCPIP32.LIB pmcddb.def
    7486
    75 cd.o:   cd.c
    76                 gcc -c $< -I$(INC) -Zcrtdll -Zomf
    77 
    78 helper.o:       helper.c
    79                 gcc -c $< -I$(INC) -Zcrtdll -Zomf
    80 
    81 message.o:      message.c
    82                 gcc -c $< -I$(INC) -Zcrtdll -Zomf
    83 
    84 pmcddb.exe:     pmcddb.cc $(OBJECTS) $(LIBOBJECTS) $(CDDBOBJ) $(INC)\cddb.h $(INC)\cddb.hh
    85         $(CC) $< $(CPPFLAGS) -I$(INC) -I$(MOREINC) $(LIBOBJECTS) $(OBJECTS) $(CDDBOBJ)  -lsocket -lstdc++6_dll.lib pmcddb.def
    86 
    87 cddb.o: cddb.cpp $(INC)\cddb.hh
    88                 gcc -c cddb.cpp -I$(INC) -Zcrtdll -Zomf
    89 
    90 cddbcls.o:      cddbcls.cpp $(INC)\cddb.hh $(INC)\cddb.h
     87cddb.obj:       cddb.cpp $(INC)\cddb.hh
     88#               gcc -c cddb.cpp -I$(INC) -Zcrtdll -Zomf
     89                echo $(INC)
     90                echo $(INCLUDE)
     91                $(CC) $(CPPFLAGS) /C+ -I$(INC) /Fo$@ $<
     92cddbcls.obj:    cddbcls.cpp $(INC)\cddb.hh $(INC)\cddb.h
    9193                cd ../pm_launchers && make
    9294
    9395
    94 printHelper.o:  printHelper.cpp
    95                 gcc -c printHelper.cpp -I$(INC) -Zcrtdll -Zomf
    96 
    97 cddbhelper.o:   $(HELPERDIR)\cddbhelper.cpp
    98                 gcc -c $< -I$(INC) -Zcrtdll -Zomf
    99 
     96printHelper.obj:        printHelper.cpp
     97#               gcc -c printHelper.cpp -I$(INC) -Zcrtdll -Zomf
     98                $(CC) $(CPPFLAGS) /C+ -I$(INC) /Fo$@ $<
     99cddbhelper.obj: $(HELPERDIR)\cddbhelper.cpp
     100#               gcc -c $< -I$(INC) -Zcrtdll -Zomf
     101                $(CC) $(CPPFLAGS) /C+ -I$(INC) /Fo$@ $<
    100102clean:
    101103        -rm *.obj
Note: See TracChangeset for help on using the changeset viewer.