2021-06-10 18:02:15 +02:00
|
|
|
KTCC=kos32-tcc
|
2021-05-10 00:12:43 +02:00
|
|
|
FASM=fasm
|
|
|
|
|
|
|
|
OBJ= memcpy.o memmove.o memset.o libtcc1.o
|
|
|
|
|
|
|
|
all: $(OBJ)
|
2022-04-20 21:07:54 +02:00
|
|
|
ar -crs ../../../bin/lib/libtcc1.a $(OBJ)
|
2021-05-10 00:12:43 +02:00
|
|
|
rm -f *.o
|
|
|
|
|
|
|
|
%.o : %.c
|
|
|
|
$(KTCC) -c $< -o $@
|
|
|
|
|
|
|
|
%.o : %.asm
|
|
|
|
$(FASM) $< $@
|
2022-04-20 21:07:54 +02:00
|
|
|
|