2021-04-27 18:33:31 +02:00
|
|
|
|
2021-06-11 00:27:24 +02:00
|
|
|
KTCC=kos32-tcc
|
2021-05-10 00:12:43 +02:00
|
|
|
FASM= fasm
|
2021-04-27 18:33:31 +02:00
|
|
|
KPACK = kpack
|
|
|
|
CFLAGS = -I../include
|
2021-06-11 00:27:24 +02:00
|
|
|
LDFLAGS = -nostdlib -L../../bin/lib ../../bin/lib/crt0.o
|
2021-04-27 18:33:31 +02:00
|
|
|
|
|
|
|
BIN= stdio_test.kex \
|
|
|
|
basic_gui.kex \
|
|
|
|
http_tcp_demo.kex \
|
|
|
|
math_test.kex \
|
|
|
|
string_test.kex \
|
|
|
|
whois.kex \
|
|
|
|
file_io.kex \
|
2021-05-01 00:00:07 +02:00
|
|
|
tmpdisk_work.kex \
|
2021-06-11 00:27:24 +02:00
|
|
|
consoleio.kex \
|
2021-07-06 20:18:46 +02:00
|
|
|
assert_test.kex \
|
2021-06-11 00:27:24 +02:00
|
|
|
fasm/sprintf_test.kex \
|
|
|
|
clayer/rasterworks.kex \
|
|
|
|
clayer/libimg.kex \
|
|
|
|
clayer/dialog.kex \
|
|
|
|
clayer/msgbox.kex \
|
2021-07-06 20:18:46 +02:00
|
|
|
clayer/boxlib.kex \
|
2021-08-15 22:21:32 +02:00
|
|
|
thread_work.kex
|
2021-06-11 00:27:24 +02:00
|
|
|
|
|
|
|
LIBS= -ltcc -ldialog -lrasterworks -limg -lbox -lmsgbox -lnetwork -lc.obj
|
2021-04-27 18:33:31 +02:00
|
|
|
|
|
|
|
all: $(BIN)
|
|
|
|
|
|
|
|
%.kex : %.c
|
2021-06-11 00:27:24 +02:00
|
|
|
$(KTCC) $(CFLAGS) $(LDFLAGS) $< -o $@ $(LIBS)
|
2021-05-10 00:12:43 +02:00
|
|
|
$(KPACK) --nologo $@
|
|
|
|
|
|
|
|
%.kex : %.asm
|
|
|
|
$(FASM) $< $@
|
2021-04-27 18:33:31 +02:00
|
|
|
$(KPACK) --nologo $@
|
|
|
|
|
|
|
|
clean:
|
2021-06-11 00:27:24 +02:00
|
|
|
rm *.kex clayer/*.kex
|