OWMakefile.os2
changeset 12331 43d46306c3ba
parent 12329 b7243b9f8fd5
equal deleted inserted replaced
12330:cf64a70ad02a 12331:43d46306c3ba
    16 CFLAGS+= -bd
    16 CFLAGS+= -bd
    17 # the include paths :
    17 # the include paths :
    18 CFLAGS+= $(INCPATH)
    18 CFLAGS+= $(INCPATH)
    19 # building SDL itself:
    19 # building SDL itself:
    20 CFLAGS+= -DBUILD_SDL
    20 CFLAGS+= -DBUILD_SDL
    21 
       
    22 # this is so that build doesn't fail with E1112:
       
    23 #CFLAGS+= -DSDL_POWER_DISABLED
       
    24 CFLAGS+= -DSDL_POWER_HARDWIRED
       
    25 
       
    26 .extensions:
       
    27 .extensions: .lib .dll .obj .c .asm
       
    28 
       
    29 .c: ./src;./src/dynapi;./src/audio;./src/cpuinfo;./src/events;./src/file;./src/haptic;./src/joystick;./src/power;./src/render;./src/render/software;./src/sensor;./src/stdlib;./src/thread;./src/timer;./src/video;./src/video/yuv2rgb;./src/haptic/dummy;./src/joystick/dummy;./src/loadso/dummy;./src/filesystem/dummy;./src/thread/generic;./src/timer/dummy;./src/power;./src/power/os2;./src/atomic;./src/audio/dummy;./src/audio/disk;./src/video/dummy;./src/sensor/dummy;./src/test;
       
    30 
    21 
    31 SRCS = SDL.c SDL_assert.c SDL_error.c SDL_log.c SDL_dataqueue.c SDL_hints.c
    22 SRCS = SDL.c SDL_assert.c SDL_error.c SDL_log.c SDL_dataqueue.c SDL_hints.c
    32 SRCS+= SDL_getenv.c SDL_iconv.c SDL_malloc.c SDL_qsort.c SDL_stdlib.c SDL_string.c
    23 SRCS+= SDL_getenv.c SDL_iconv.c SDL_malloc.c SDL_qsort.c SDL_stdlib.c SDL_string.c
    33 SRCS+= SDL_cpuinfo.c SDL_atomic.c SDL_spinlock.c SDL_thread.c SDL_timer.c
    24 SRCS+= SDL_cpuinfo.c SDL_atomic.c SDL_spinlock.c SDL_thread.c SDL_timer.c
    34 SRCS+= SDL_rwops.c SDL_power.c
    25 SRCS+= SDL_rwops.c SDL_power.c
    55 SRCS+= SDL_dummysensor.c
    46 SRCS+= SDL_dummysensor.c
    56 
    47 
    57 SRCS+= SDL_dynapi.c
    48 SRCS+= SDL_dynapi.c
    58 
    49 
    59 OBJS = $(SRCS:.c=.obj)
    50 OBJS = $(SRCS:.c=.obj)
       
    51 
       
    52 .extensions:
       
    53 .extensions: .lib .dll .obj .c .asm
       
    54 
       
    55 .c: ./src;./src/dynapi;./src/audio;./src/cpuinfo;./src/events;./src/file;./src/haptic;./src/joystick;./src/power;./src/render;./src/render/software;./src/sensor;./src/stdlib;./src/thread;./src/timer;./src/video;./src/video/yuv2rgb;./src/haptic/dummy;./src/joystick/dummy;./src/loadso/dummy;./src/filesystem/dummy;./src/thread/generic;./src/timer/dummy;./src/power;./src/power/os2;./src/atomic;./src/audio/dummy;./src/audio/disk;./src/video/dummy;./src/sensor/dummy;./src/test;
    60 
    56 
    61 all: $(DLLFILE) $(LIBFILE) .symbolic
    57 all: $(DLLFILE) $(LIBFILE) .symbolic
    62 
    58 
    63 $(DLLFILE): $(OBJS) $(LNKFILE)
    59 $(DLLFILE): $(OBJS) $(LNKFILE)
    64     wlink @$(LNKFILE)
    60     wlink @$(LNKFILE)