forked from KolibriOS/kolibrios
781f3f0fab
- Added shell apis(shell_api.h) - Added functions for working with a named shared memory area(ksys.h). - Fixed itoa git-svn-id: svn://kolibrios.org@8629 a494cfbc-eb01-0410-851d-a64ba20cac60
23 lines
524 B
Makefile
23 lines
524 B
Makefile
KGCC = ../linuxtools/kgcc
|
|
KLD = ../linuxtools/kld
|
|
KPACK = kpack
|
|
KTCC=../../../programs/develop/ktcc/trunk/bin/kos32-tcc
|
|
KTCC_FLAGS = -nostdlib -stack=1048576 -I$(KLIBC)/source/include -L$(KLIBC)/lib $(KLIBC)/lib/crt0.o
|
|
|
|
ifndef NAME
|
|
NAME = basic_gui
|
|
endif
|
|
|
|
static_kgcc:
|
|
$(KGCC) $(NAME).c
|
|
$(KLD) $(NAME).o -o $(NAME) -lc
|
|
$(KPACK) $(NAME)
|
|
|
|
static_tcc:
|
|
$(KTCC) $(KTCC_FLAGS) $(NAME).c -o $(NAME) -lc
|
|
$(KPACK) $(NAME)
|
|
|
|
dynamic_tcc:
|
|
$(KTCC) $(KTCC_FLAGS) -D_DYNAMIC $(NAME).c -o $(NAME)_dyn -lc.obj
|
|
$(KPACK) $(NAME)_dyn
|