forked from KolibriOS/kolibrios
728d0ab126
- Added example program - Delete trash files - Added libc.obj loader (will be removed from ktcc) git-svn-id: svn://kolibrios.org@8625 a494cfbc-eb01-0410-851d-a64ba20cac60
19 lines
491 B
Makefile
19 lines
491 B
Makefile
KGCC = ../linuxtools/kgcc
|
|
KLD = ../linuxtools/kld
|
|
KPACK = kpack
|
|
KTCC=../../../programs/develop/ktcc/trunk/bin/kos32-tcc
|
|
KTCC_FLAGS = -nostdlib -I$(KLIBC)/source/include -L$(KLIBC)/lib $(KLIBC)/lib/crt0.o
|
|
|
|
static_kgcc:
|
|
$(KGCC) basic_gui.c
|
|
$(KLD) basic_gui.o -o basic_gui -lc
|
|
$(KPACK) basic_gui
|
|
|
|
static_tcc:
|
|
$(KTCC) $(KTCC_FLAGS) basic_gui.c -o basic_gui -lc
|
|
$(KPACK) basic_gui
|
|
|
|
dynamic_tcc:
|
|
$(KTCC) $(KTCC_FLAGS) -D_DYNAMIC basic_gui.c -o basic_gui_dyn -lc.obj
|
|
$(KPACK) basic_gui_dyn
|