forked from KolibriOS/kolibrios
5c8619e65c
- fixed bug with crt0.o search when using -B parameter. - removed support for tcc.conf. git-svn-id: svn://kolibrios.org@9557 a494cfbc-eb01-0410-851d-a64ba20cac60
16 lines
214 B
Makefile
16 lines
214 B
Makefile
CC=gcc
|
|
NAME=kos32-tcc
|
|
|
|
SRC=libtcc.c tcc.c
|
|
CFLAGS= -DTCC_TARGET_MEOS_LINUX
|
|
LFLAGS= -m32
|
|
|
|
all:
|
|
$(CC) $(CFLAGS) $(LFLAGS) $(SRC) -o $(NAME)
|
|
install:
|
|
cp $(NAME) ../bin
|
|
compress:
|
|
upx $(NAME)
|
|
clean:
|
|
rm -f $(NAME)
|