1 # customization for ReactOS goes here
3 # The SharedLibrary and SharedLibraryFromObjects rules were
5 # http://www.differentpla.net/~roger/devel/jam/tutorial/shared_lib/index.html
8 RM = rm ; # rm comes with MinGW, and the default del doesn't work in some cases
12 SharedLibraryFromObjects $(<) : $(>:S=$(SUFOBJ)) ;
16 rule SharedLibraryFromObjects
20 # Add grist to file names
23 _s = [ FGristFiles $(>) ] ;
24 _t = [ FAppendSuffix $(<) : $(SUFSHR) ] ;
28 DEPENDS $(<) : $(_t) ;
32 # make compiled sources a dependency of target
35 DEPENDS $(_t) : $(_s) ;
36 MakeLocate $(_t) : $(LOCATE_TARGET) ;
43 # nasm needs to know the output file first, or it doesn't
47 $(AS) -o $(<) $(ASFLAGS) -I$(HDRS) $(>)
52 # why isn't DEFINES working? :(
54 CCFLAGS += -D_M_IX86 ;