Subversion Repositories Kolibri OS

Rev

Rev 8625 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. KGCC = ../linuxtools/kgcc
  2. KLD = ../linuxtools/kld
  3. KPACK = kpack
  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
  6.  
  7. ifndef NAME
  8. NAME = basic_gui
  9. endif
  10.  
  11. static_kgcc:
  12.         $(KGCC) $(NAME).c
  13.         $(KLD) $(NAME).o -o $(NAME) -lc
  14.         $(KPACK) $(NAME)
  15.  
  16. static_tcc:
  17.         $(KTCC) $(KTCC_FLAGS) $(NAME).c -o $(NAME) -lc
  18.         $(KPACK) $(NAME)
  19.  
  20. dynamic_tcc:
  21.         $(KTCC) $(KTCC_FLAGS) -D_DYNAMIC $(NAME).c -o $(NAME)_dyn  -lc.obj
  22.         $(KPACK) $(NAME)_dyn
  23.