Ignore:
Timestamp:
Nov 9, 2023, 5:42:55 PM (2 years ago)
Author:
erdmann
Message:

merge from trunk CS 129

Location:
branches/v2.9_Lars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/v2.9_Lars

  • branches/v2.9_Lars/classes/mm-progs/videoplayer/makefile

    r116 r130  
    33include ../../../make.inc
    44
    5 CC           = gcc
     5CC           = icc
    66LIB_DIR      = $d:/emx/lib
    77#CPPFLAGS     = -Ge- /Gm+ -G4 -Gl  /O+ -Oc+ -Ol
    88#CPPFLAGS     = -O -Zomf -Zcrtdll -Zmtd -s
    9 CPPFLAGS     = -O -Wall -Zomf -Zmt -s
     9#CPPFLAGS     = -O -Wall -Zomf -Zmt -s
     10CPPFLAGS        =  -Ge+ /Gm+ -G5 /Ss -Gl /O+ -Oc+ -Ol- /Q+
    1011INC             = ../include -I ../../../classes/inc -I ../../../common_functions/include
    1112DEFS         =
     
    2021all:    mmplayer.exe vioplayer.exe
    2122
    22 $(LIBDIR)/%.obj:        $(COMMONSRC)/%.c
    23         gcc -c -Wall -o$@ -Zomf -I$(INC) $<
    24 
     23$(LIBDIR)/%.obj:        $(COMMONSRC)/%.c 
     24#       gcc -c -Wall -o$@ -Zomf -I$(INC) $< 
     25        $(CC) $(CPPFLAGS) /C+ -I$(INC) /Fo$@ $<
    2526%.obj:  %.c
    26         gcc -c -Wall -o$@ -Zomf -I$(INC) $<
    27 
     27#       gcc -c -Wall -o$@ -Zomf -I$(INC) $< 
     28        $(CC) $(CPPFLAGS) /C -I$(INC) /Fo$@ $<
    2829mmplayer.exe:   mmplayer.c $(OBJECTS) $(OBJS2) makefile
    2930#Use this command to link dynamicaly
    30         gcc $(CPPFLAGS) -I$(INC) mmplayer.c $(OBJECTS) $(OBJS2) -lmmpm2.lib mmplayer.def
     31        $(CC) $(CPPFLAGS) -I$(INC) mmplayer.c $(OBJECTS) $(OBJS2) mmpm2.lib mmplayer.def
    3132        rc mmplayer.rc mmplayer.exe
    3233
    3334vioplayer.exe:  vioplayer.c
    34         gcc $(CPPFLAGS) -I$(INC) vioplayer.c $(LIBDIR)/sys_funcs.obj -lmmpm2.lib mmplayer.def
     35        $(CC) $(CPPFLAGS) -I$(INC) vioplayer.c $(LIBDIR)/sys_funcs.obj mmpm2.lib mmplayer.def
    3536
    3637clean:
  • branches/v2.9_Lars/classes/mm-progs/videoplayer/mmplayer.c

    r88 r130  
    954954                      if(lPos/1000!=lLastPos) {
    955955                        /* Prevent flickering */
    956                         sprintf(chrCommand, "%d:%02d", lPos/1000/60, (lPos/1000)%60);
     956                        sprintf(chrCommand, "%li:%02li", lPos/1000/60, (lPos/1000)%60);
    957957                        WinSetWindowText(WinWindowFromID(hwnd, IDST_MMPLAYERPLAYTIME), chrCommand);
    958958                        lLastPos=lPos/1000;
     
    10271027
    10281028  if((fealist=malloc(0x00010000L /* Add some space */
    1029                      ))==NULLHANDLE)
     1029                     ))==NULL)
    10301030    return FALSE;
    10311031
Note: See TracChangeset for help on using the changeset viewer.