mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 15:42:25 +00:00
initial tcc/linux changes
This commit is contained in:
parent
e3a07e77fa
commit
a35668bf93
2 changed files with 17 additions and 4 deletions
|
|
@ -65,10 +65,20 @@ assemble:
|
|||
cd $(BUILDDIR) && $(COMPILE) -c OPM.c extTools.c OPS.c OPT.c
|
||||
cd $(BUILDDIR) && $(COMPILE) -c OPC.c OPV.c OPB.c OPP.c
|
||||
|
||||
ifeq ($(COMPILER),tcc)
|
||||
cd $(BUILDDIR) && $(COMPILE) Compiler.c -o $(ROOTDIR)/$(OBECOMP) \
|
||||
SYSTEM.o Configuration.o Platform.o Heap.o Out.o \
|
||||
Strings.o Modules.o Files.o Reals.o Texts.o \
|
||||
VT100.o extTools.o \
|
||||
OPM.o OPS.o OPT.o OPC.o OPV.o OPB.o OPP.o
|
||||
else
|
||||
cd $(BUILDDIR) && $(COMPILE) $(STATICLINK) Compiler.c -o $(ROOTDIR)/$(OBECOMP) \
|
||||
SYSTEM.o Configuration.o Platform.o Heap.o Out.o Strings.o \
|
||||
Modules.o Files.o Reals.o Texts.o VT100.o extTools.o \
|
||||
OPM.o OPS.o OPT.o OPC.o OPV.o OPB.o OPP.o
|
||||
SYSTEM.o Configuration.o Platform.o Heap.o Out.o \
|
||||
Strings.o Modules.o Files.o Reals.o Texts.o \
|
||||
VT100.o extTools.o \
|
||||
OPM.o OPS.o OPT.o OPC.o OPV.o OPB.o OPP.o
|
||||
|
||||
endif
|
||||
|
||||
cp src/runtime/*.[ch] $(BUILDDIR)
|
||||
cp src/runtime/*.Txt $(BUILDDIR)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue