Subversion Repositories Kolibri OS

Rev

Rev 8625 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
8625 turbocat 1
KGCC = ../linuxtools/kgcc
2
KLD = ../linuxtools/kld
3
KPACK = kpack
8629 turbocat 4
KTCC=../../../programs/develop/ktcc/trunk/bin/kos32-tcc
5
KTCC_FLAGS = -nostdlib -stack=1048576 -I$(KLIBC)/source/include -L$(KLIBC)/lib $(KLIBC)/lib/crt0.o
8625 turbocat 6
 
8629 turbocat 7
ifndef NAME
8
NAME = basic_gui
9
endif
10
 
8625 turbocat 11
static_kgcc:
8629 turbocat 12
	$(KGCC) $(NAME).c
13
	$(KLD) $(NAME).o -o $(NAME) -lc
14
	$(KPACK) $(NAME)
8625 turbocat 15
 
16
static_tcc:
8629 turbocat 17
	$(KTCC) $(KTCC_FLAGS) $(NAME).c -o $(NAME) -lc
18
	$(KPACK) $(NAME)
8625 turbocat 19
 
20
dynamic_tcc:
8629 turbocat 21
	$(KTCC) $(KTCC_FLAGS) -D_DYNAMIC $(NAME).c -o $(NAME)_dyn  -lc.obj
22
	$(KPACK) $(NAME)_dyn