mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 14:32:24 +00:00
Fix mingw build.
This commit is contained in:
parent
377bc73774
commit
f9c72a37b0
2 changed files with 2 additions and 30 deletions
|
|
@ -371,9 +371,8 @@ library:
|
|||
@printf "\nCompiling lib$(ONAME)-O$(MODEL) sources\n"
|
||||
rm -rf $(BUILDDIR)/$(MODEL)
|
||||
mkdir -p $(BUILDDIR)/$(MODEL)
|
||||
#cp src/runtime/*.[ch] $(BUILDDIR)/$(MODEL)
|
||||
#cd $(BUILDDIR)/$(MODEL) && $(COMPILE) -c SYSTEM.c
|
||||
cp $(BUILDDIR)/SYSTEM.[ho] $(BUILDDIR)/$(MODEL)
|
||||
cp $(BUILDDIR)/WindowsWrapper.h $(BUILDDIR)/$(MODEL)
|
||||
@make -f src/tools/make/oberon.mk -s O$(MODEL)library MODEL=$(MODEL)
|
||||
@printf "\nMaking lib$(ONAME)-O$(MODEL) .a and .so\n"
|
||||
ar rcs "$(BUILDDIR)/$(MODEL)/lib$(ONAME)-O$(MODEL).a" $(BUILDDIR)/$(MODEL)/*.o
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue