libraries: update Makefiles

git-svn-id: svn://kolibrios.org@1907 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge)
2011-03-12 09:36:46 +00:00
parent 2336060a0c
commit f987f52aaa
14 changed files with 885 additions and 24 deletions

View File

@@ -4,9 +4,9 @@ CPP=gcc -E
CFLAGS= -c -combine -O2 -fomit-frame-pointer -ffast-math -mmmx -finline-functions
LDIMPORT:= -nostdlib --out-implib libmpg123imp.a
LDIMPORT:= -nostdlib --out-implib libmpg123imp.a --exclude-libs libamz.a
LDFLAGS:= -shared -s -T../newlib/dll.lds -Map map --image-base 0
LDFLAGS:= -shared -s -T../newlib/dll.lds --image-base 0
INCLUDES= -I../newlib/include
@@ -61,4 +61,8 @@ $(NAME).dll: $(SRCS_OBJ) $(ASM_OBJS) Makefile
%.o: %.c Makefile
$(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o $@ $<
clean:
-rm -f *.o