kolibrios-fun/programs/develop/ktcc/trunk/libc.obj/source/libtcc/Makefile
turbocat de30a03cac Fixed build libc.obj
git-svn-id: svn://kolibrios.org@8803 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-10 16:02:15 +00:00

17 lines
202 B
Makefile
Executable File

KTCC=kos32-tcc
FASM=fasm
OBJ= memcpy.o memmove.o memset.o libtcc1.o
all: $(OBJ)
ar -crs ../../../bin/lib/libtcc.a $(OBJ)
rm -f *.o
%.o : %.c
$(KTCC) -c $< -o $@
%.o : %.asm
$(FASM) $< $@