I autmated the rest of building libfrozen.a
I also moved it so that it gets put in: $(OCGDIR)/blender/bpython/$(DEBUG_DIR)libfrozen.a and removed the stuff from the readme on how to do it by hand. (I made one other small change and that was to comment out the ssr target on solaris and freebsd in source/Makefile I forgot to commit it yesterday) Kent -- mein@cs.umn.edu
This commit is contained in:
@@ -24,6 +24,8 @@ def makemakefile(outfp, makevars, files, target):
|
||||
keys.sort()
|
||||
for key in keys:
|
||||
outfp.write("%s=%s\n" % (key, makevars[key]))
|
||||
|
||||
outfp.write("\n\ninclude nan_definitions.mk\n")
|
||||
outfp.write("\nall: %s\n\n" % libtarget)
|
||||
|
||||
deps = []
|
||||
@@ -48,7 +50,8 @@ def makemakefile(outfp, makevars, files, target):
|
||||
# libfiles.remove('M___main__.o') # don't link with __main__
|
||||
|
||||
outfp.write("\n%s: $(OBJS)\n" % (libtarget))
|
||||
outfp.write("\t$(AR) ruv %s $(OBJS)\n" % (targetlib))
|
||||
outfp.write("\t$(AR) ruv %s%s $(OBJS)\n" %
|
||||
("$(OCGDIR)/blender/bpython/$(DEBUG_DIR)", targetlib))
|
||||
|
||||
outfp.write("\n%s: %s $(OBJS)\n" % (target, mainfile))
|
||||
outfp.write("\t$(CC) %s %s -o %s $(LDLAST)\n" %
|
||||
|
Reference in New Issue
Block a user