3 OBJCOPY
= kos32-objcopy
6 SDK_DIR
= $(abspath ..
/..
/sdk
)
8 CFLAGS
= -c
-fno-ident
-O2
-fomit-frame-pointer
-fno-ident
-U__WIN32__
-U_Win32
-U_WIN32
-U__MINGW32__
-UWIN32
-D_KOLIBRI
9 LDFLAGS
= -static
-S
-nostdlib
-T
$(SDK_DIR
)/sources
/newlib
/app.lds
--image-base
0 --subsystem native
11 INCLUDES
= -I
$(SDK_DIR
)/sources
/newlib
/libc
/include -I
$(SDK_DIR
)/sources
/SDL-1.2
.2_newlib
/include -I.
-I SDL_mixer
12 LIBPATH
= -L
$(SDK_DIR
)/lib
-L
/home
/autobuild
/tools
/win32
/mingw32
/lib
-L
$(SDK_DIR
)/lib
16 OBJECTS
+= wl_cloudsky.o
22 OBJECTS
+= wl_floorceiling.o
23 OBJECTS
+= wl_dir3dspr.o
28 OBJECTS
+= wl_parallax.o
30 OBJECTS
+= sdl_winmain.o
43 OBJECTS
+= joystick_stub.o
45 OBJECTS
+= mame
/fmopl.o
48 SDL_MIX_OBJ
+= SDL_mixer
/mixer.o
49 SDL_MIX_OBJ
+= SDL_mixer
/music.o
50 SDL_MIX_OBJ
+= SDL_mixer
/load_aiff.o
51 SDL_MIX_OBJ
+= SDL_mixer
/load_voc.o
52 SDL_MIX_OBJ
+= SDL_mixer
/effects_internal.o
53 SDL_MIX_OBJ
+= SDL_mixer
/effect_position.o
55 LIBS
= -lSDLn
-lsound
-lgcc
-lc.dll
57 $(TARGET
): $(OBJECTS
) $(SDL_MIX_OBJ
) $(SDL_OBJ
)
58 $(LD
) $(LDFLAGS
) $(LIBPATH
) -o
$(TARGET
) $(OBJECTS
) $(SDL_MIX_OBJ
) $(SDL_OBJ
) $(LIBS
)
59 $(OBJCOPY
) $(TARGET
) -O binary
60 $(KPACK
) --nologo
$(TARGET
)
63 $(CC
) $(CFLAGS
) $(INCLUDES
) -o
$@
$<
66 $(CC
) $(CFLAGS
) $(INCLUDES
) -o
$@
$<