Files
kolibrios/programs/develop/ktcc/trunk/libc.obj/samples/Makefile
Egor00f 8322ec954b
Some checks failed
Build system / Build (pull_request) Failing after 1s
Build system / Check kernel codestyle (pull_request) Successful in 1m12s
libc.obj: add void abort(), int atexit( void (*func)(void) ), EXIT_ SUCCESS/FAILURE
2026-01-10 23:20:18 +05:00

45 lines
838 B
Makefile

KTCC = kos32-tcc
FASM = fasm
KPACK = kpack
CFLAGS = -I../include -B../../bin -I../../../../../../contrib/sdk/sources/SDL-1.2.2_newlib/include
LIBS = -lbox_lib -lshell -lSDL -lsound -lnetwork -lrasterworks -limg -ldialog -lmsgbox
BIN = \
stdio_test.kex \
basic_gui.kex \
http_tcp_demo.kex \
math_test.kex \
string_test.kex \
whois.kex \
file_io.kex \
tmpdisk_work.kex \
consoleio.kex \
assert_test.kex \
clayer/rasterworks.kex \
clayer/libimg.kex \
clayer/dialog.kex \
clayer/msgbox.kex \
clayer/boxlib.kex \
thread_work.kex \
sdltest.kex \
shell_test.kex \
libc_test.kex \
pipe.kex \
defgen.kex \
futex.kex \
atexit_test.kex
all: $(BIN)
%.kex : %.c
$(KTCC) $(CFLAGS) $(LDFLAGS) $< -o $@ $(LIBS)
# $(KPACK) --nologo $@
%.kex : %.asm
$(FASM) $< $@
# $(KPACK) --nologo $@
clean:
rm *.kex clayer/*.kex