2020-11-24 15:40:29 +01:00
|
|
|
CC=gcc
|
|
|
|
NAME=kos32-tcc
|
|
|
|
|
|
|
|
SRC=libtcc.c tcc.c
|
2020-11-28 20:19:06 +01:00
|
|
|
CFLAGS= -DTCC_TARGET_MEOS_LINUX
|
2020-11-24 15:40:29 +01:00
|
|
|
LFLAGS= -m32 -static
|
|
|
|
|
|
|
|
all:
|
|
|
|
$(CC) $(CFLAGS) $(LFLAGS) $(SRC) -o $(NAME)
|
|
|
|
install:
|
|
|
|
cp $(NAME) ../bin
|
2020-11-28 20:19:06 +01:00
|
|
|
compress:
|
|
|
|
upx $(NAME)
|
2020-11-24 15:40:29 +01:00
|
|
|
clean:
|
|
|
|
rm -f $(NAME)
|