forked from KolibriOS/kolibrios
b5b499b8c8
Move to folder with tcc. Part 1 git-svn-id: svn://kolibrios.org@8793 a494cfbc-eb01-0410-851d-a64ba20cac60
18 lines
243 B
Makefile
Executable File
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) $< $@
|
|
|