2021-04-27 18:33:31 +02:00
|
|
|
|
2021-04-28 02:18:12 +02:00
|
|
|
KTCC=../../../ktcc/trunk/bin/kos32-tcc
|
2021-04-27 18:33:31 +02:00
|
|
|
KPACK = kpack
|
|
|
|
CFLAGS = -I../include
|
|
|
|
LDFLAGS = -nostdlib -L../lib ../lib/crt0.o
|
|
|
|
|
|
|
|
BIN= stdio_test.kex \
|
|
|
|
basic_gui.kex \
|
|
|
|
http_tcp_demo.kex \
|
|
|
|
math_test.kex \
|
|
|
|
string_test.kex \
|
|
|
|
whois.kex \
|
|
|
|
file_io.kex \
|
2021-04-28 02:18:12 +02:00
|
|
|
tmpdisk_work.kex
|
2021-04-27 18:33:31 +02:00
|
|
|
|
|
|
|
|
|
|
|
all: $(BIN)
|
|
|
|
|
|
|
|
%.kex : %.c
|
|
|
|
$(KTCC) $(CFLAGS) $(LDFLAGS) $< -o $@ -lnetwork -lc.obj
|
|
|
|
$(KPACK) --nologo $@
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm *.kex
|