Subversion Repositories Kolibri OS

Rev

Rev 1898 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1898 Rev 1905
Line 5... Line 5...
5
CC=gcc
5
CC=gcc
6
CPP=gcc -E
6
CPP=gcc -E
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
CFLAGS= -O3 -c -fomit-frame-pointer
8
CFLAGS= -O3 -c -fomit-frame-pointer
Line 9... Line 9...
9
 
9
 
Line 10... Line 10...
10
LDIMPORT:= -nostdlib --out-implib libzimp.a
10
LDIMPORT:= -nostdlib
Line 34... Line 34...
34
 
34
 
35
libz.a: $(OBJS)
35
libz.a: $(OBJS)
Line 36... Line 36...
36
	$(AR) $@ $(OBJS)
36
	$(AR) $@ $(OBJS)
-
 
37
 
37
 
38
libz.dll: $(OBJECTS) Makefile
Line 38... Line 39...
38
libz.dll: $(OBJECTS) Makefile
39
	dlltool -d zlib.def -Dlibz.dll -e exports.o -l libzimp.a
39
	ld $(LDFLAGS) $(LDIMPORT) $(LIBPATH) -o $@ $(OBJS) $(LIBS) 
40
	ld $(LDFLAGS) $(LDIMPORT) --exclude-all-symbols $(LIBPATH) -o $@ $(OBJS) exports.o $(LIBS)