kolibrios-gitea/programs/develop/ktcc/trunk/libc.obj/source/libtcc/Makefile
turbocat b5b499b8c8 kolibri-libc:
Move to folder with tcc. Part 1

git-svn-id: svn://kolibrios.org@8793 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-10 14:37:44 +00:00

18 lines
243 B
Makefile
Executable File

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