kolibrios/programs/develop/ktcc/trunk/lib/libc.obj/Makefile
turbocat 95e70a7b8c libc.obj.a(ktcc) :
- Added makefile
- Added mklib tools
- Fixed build

git-svn-id: svn://kolibrios.org@8621 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-01 21:52:10 +00:00

19 lines
251 B
Makefile

FASM = fasm
MKLIB = ./tools/mklib
SRCS=$(wildcard *.asm)
OBJS=$(SRCS:.asm=.o)
%.o : %.asm
$(FASM) $<
all: asm_gen $(OBJS)
ar -rsc ../../bin/lib/libc.obj.a *.o
asm_gen:
cat symbols.txt | $(MKLIB)
clean:
rm ../../bin/lib/libc.obj.a
rm -f *.o