mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-17 12:22:35 +03:00
599cbe26ed
- ksys.h - added event mask enum - samples - old examples updated - delete junk files git-svn-id: svn://kolibrios.org@8818 a494cfbc-eb01-0410-851d-a64ba20cac60
38 lines
659 B
Makefile
38 lines
659 B
Makefile
|
|
KTCC=kos32-tcc
|
|
FASM= fasm
|
|
KPACK = kpack
|
|
CFLAGS = -I../include
|
|
LDFLAGS = -nostdlib -L../../bin/lib ../../bin/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 \
|
|
tmpdisk_work.kex \
|
|
consoleio.kex \
|
|
fasm/sprintf_test.kex \
|
|
clayer/rasterworks.kex \
|
|
clayer/libimg.kex \
|
|
clayer/dialog.kex \
|
|
clayer/msgbox.kex \
|
|
clayer/boxlib.kex
|
|
|
|
LIBS= -ltcc -ldialog -lrasterworks -limg -lbox -lmsgbox -lnetwork -lc.obj
|
|
|
|
all: $(BIN)
|
|
|
|
%.kex : %.c
|
|
$(KTCC) $(CFLAGS) $(LDFLAGS) $< -o $@ $(LIBS)
|
|
$(KPACK) --nologo $@
|
|
|
|
%.kex : %.asm
|
|
$(FASM) $< $@
|
|
$(KPACK) --nologo $@
|
|
|
|
clean:
|
|
rm *.kex clayer/*.kex
|