forked from KolibriOS/kolibrios
Fix 'ar' in SDL
git-svn-id: svn://kolibrios.org@8198 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
1bbbda42c0
commit
74a3bc7a32
@ -1,3 +1,6 @@
|
|||||||
|
# SDL build makefile_test
|
||||||
|
# writed by maxcodehack
|
||||||
|
|
||||||
CC = kos32-gcc
|
CC = kos32-gcc
|
||||||
AR = kos32-ar
|
AR = kos32-ar
|
||||||
LD = kos32-ld
|
LD = kos32-ld
|
||||||
@ -6,7 +9,13 @@ SDK_DIR:= $(abspath ../../..)
|
|||||||
|
|
||||||
endian_OBJS = endian/SDL_endian.o
|
endian_OBJS = endian/SDL_endian.o
|
||||||
file_OBJS = file/SDL_rwops.o
|
file_OBJS = file/SDL_rwops.o
|
||||||
hermes_OBJS = hermes/mmxp2_32.obj hermes/mmx_main.obj hermes/x86p_16.obj \
|
|
||||||
|
# First save this:
|
||||||
|
hermes_OBJS = hermes/mmxp2_32.o hermes/mmx_main.o hermes/x86p_16.o \
|
||||||
|
hermes/x86p_32.o hermes/x86_main.o
|
||||||
|
|
||||||
|
# After only this
|
||||||
|
# hermes_OBJS = hermes/mmxp2_32.obj hermes/mmx_main.o hermes/x86p_16.obj \
|
||||||
hermes/x86p_32.obj hermes/x86_main.obj
|
hermes/x86p_32.obj hermes/x86_main.obj
|
||||||
thread_OBJS = thread/SDL_syscond.o thread/SDL_sysmutex.o thread/SDL_syssem.o \
|
thread_OBJS = thread/SDL_syscond.o thread/SDL_sysmutex.o thread/SDL_syssem.o \
|
||||||
thread/SDL_systhread.o thread/SDL_thread.o
|
thread/SDL_systhread.o thread/SDL_thread.o
|
||||||
@ -22,9 +31,6 @@ video_OBJS = video/SDL_blit_0.o video/SDL_blit_1.o video/SDL_blit_A.o \
|
|||||||
video/SDL_yuv_sw.o video/menuetos/SDL_menuetevents.o \
|
video/SDL_yuv_sw.o video/menuetos/SDL_menuetevents.o \
|
||||||
video/menuetos/SDL_menuetvideo.o
|
video/menuetos/SDL_menuetvideo.o
|
||||||
audio_OBJS = audio/SDL_kolibri_audio.o
|
audio_OBJS = audio/SDL_kolibri_audio.o
|
||||||
#\
|
|
||||||
# audio/klbr_sdk/src/init.o audio/klbr_sdk/src/setbuf.o \
|
|
||||||
# audio/klbr_sdk/src/stopbuf.o audio/klbr_sdk/src/sndgetsize.o
|
|
||||||
|
|
||||||
curr_OBJS = SDL.o SDL_error.o SDL_fatal.o SDL_getenv.o
|
curr_OBJS = SDL.o SDL_error.o SDL_fatal.o SDL_getenv.o
|
||||||
|
|
||||||
@ -45,15 +51,13 @@ LDFLAGS = -shared -s -T../../newlib/libc/app.lds -nostdlib --image-base 0 -L /ho
|
|||||||
|
|
||||||
ARFLAGS = crs
|
ARFLAGS = crs
|
||||||
|
|
||||||
#include $(MENUETDEV)/makefiles/Makefile_for_lib
|
|
||||||
|
|
||||||
all: libSDL.a
|
all: libSDL.a
|
||||||
|
|
||||||
install: libSDL.a
|
install: libSDL.a
|
||||||
mv -f libSDL.a $(SDK_DIR)/lib
|
mv -f libSDL.a $(SDK_DIR)/lib
|
||||||
|
|
||||||
libSDL.a: $(OBJS)
|
libSDL.a: $(OBJS)
|
||||||
$(AR) $(ARFLAGS) libSDL.a
|
$(AR) $(ARFLAGS) libSDL.a $(OBJS)
|
||||||
|
|
||||||
%.obj : %.asm Makefile
|
%.obj : %.asm Makefile
|
||||||
nasm -f coff $< $
|
nasm -f coff $< $
|
||||||
|
Loading…
Reference in New Issue
Block a user