forked from KolibriOS/kolibrios
Fix libopcodes building
git-svn-id: svn://kolibrios.org@8358 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
69e7252367
commit
dc2f211987
@ -1,3 +1,6 @@
|
|||||||
|
CC = kos32-gcc
|
||||||
|
LD = kos32-ld
|
||||||
|
SDK_DIR = ../../../sdk
|
||||||
|
|
||||||
CFLAGS_OPT = -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -U_MSC_VER -O2
|
CFLAGS_OPT = -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -U_MSC_VER -O2
|
||||||
CFLAGS_OPT+= -fomit-frame-pointer -fno-ident -mno-ms-bitfields
|
CFLAGS_OPT+= -fomit-frame-pointer -fno-ident -mno-ms-bitfields
|
||||||
@ -19,7 +22,7 @@ OBJS = $(patsubst %.cpp, %.o, $(patsubst %.c, %.o, $(SRCS)))
|
|||||||
|
|
||||||
all: libopcodes.a
|
all: libopcodes.a
|
||||||
|
|
||||||
libopcodes.a: $(OBJS) MAkefile
|
libopcodes.a: $(OBJS) Makefile
|
||||||
$(AR) crs $@ $(OBJS)
|
$(AR) crs $@ $(OBJS)
|
||||||
mv -f $@ $(SDK_DIR)/lib
|
mv -f $@ $(SDK_DIR)/lib
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user