Skip to content

Commit

Permalink
Add missing GNUMakefiles for various folders
Browse files Browse the repository at this point in the history
  • Loading branch information
Boisy Pitre committed Oct 9, 2024
1 parent e7f9a70 commit 438c36e
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Source/Libs/KLibc/fmath/GNUMakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
include ../cmoc.make

OFILES = cfloats.o

cfloats.l: $(OFILES)
lwar -c $@ $^

clean:
-rm *.l *.o *.list *.map
11 changes: 11 additions & 0 deletions Source/Libs/KLibc/imath/GNUMakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
include ../cmoc.make

OFILES = abs.o minmax.o uminmax.o clmul.o cldiv.o cludiv.o claddsub.o clcompare.o \
clbits.o clnegcompl.o clconvert.o clmove.o clincdec.o clshifts.o \
clcommon.o ccmult.o ccmod.o ccdiv.o cshifts.o rpterr.o

math.l: $(OFILES)
lwar -c $@ $^

clean:
-rm *.l *.o *.list *.map
22 changes: 22 additions & 0 deletions Source/Libs/KLibc/sys.a/GNUMakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
include ../cmoc.make

OFILES = abort.o signal.o chown.o chmod.o stat.o access.o create.o \
open.o read.o write.o lseek.o misc.o mod.o dir.o brk.o ibrk.o sbrk.o mem.o \
time.o process.o id.o intercept.o syscall.o syscommon.o \
profdummy.o tidyup.o cfinish.o cfinish2.o

syslib.l: $(OFILES)
lwar -c $@ $^

#cstart.o: cstart.a
# $(LWLINK) -o=rels/cstart.o cstart.a
# copy -rw=/DD/Lib rels/cstart.o

#root.o: root.a
# $(LWLINK) -o=rels/root.o root.a
# copy -rw=/DD/Lib rels/root.o

clean:
-rm *.l *.o *.list *.map

$(OFILES): GNUmakefile $(DCCMOC) $(RMA2LW)
11 changes: 11 additions & 0 deletions Source/Libs/KLibc/tmath/GNUMakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
include ../cmoc.make

OFILES = trig.o hyp.o log.o trnser.o dsqrt.o dinc.o \
dtype.o dmul.o ddiv.o daddsub.o dser.o dcmpr.o

trans.l: $(OFILES)
lwar -c $@ $^

clean:
-rm temp* trans.l $(OFILES) *.list *.map

0 comments on commit 438c36e

Please sign in to comment.