forked from KolibriOS/kolibrios
dbc1c764b1
- Fixed TCC for linux bug: does not find library and headers as well as start.o - Updated kos32-tcc git-svn-id: svn://kolibrios.org@8272 a494cfbc-eb01-0410-851d-a64ba20cac60
16 lines
224 B
Makefile
16 lines
224 B
Makefile
CC=gcc
|
|
NAME=kos32-tcc
|
|
|
|
SRC=libtcc.c tcc.c
|
|
CFLAGS= -DTCC_TARGET_MEOS_LINUX
|
|
LFLAGS= -m32 -static
|
|
|
|
all:
|
|
$(CC) $(CFLAGS) $(LFLAGS) $(SRC) -o $(NAME)
|
|
install:
|
|
cp $(NAME) ../bin
|
|
compress:
|
|
upx $(NAME)
|
|
clean:
|
|
rm -f $(NAME)
|