forked from KolibriOS/kolibrios
- Added compress target to Makefile.linux32 (Uses UPX)
- 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
This commit is contained in:
@@ -2,12 +2,14 @@ CC=gcc
|
||||
NAME=kos32-tcc
|
||||
|
||||
SRC=libtcc.c tcc.c
|
||||
CFLAGS= -DTCC_TARGET_MEOS_LINUX
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user