kolibrios-gitea/drivers/examples/test/Makefile

13 lines
326 B
Makefile
Raw Normal View History

KTCC=../../../programs/develop/ktcc/trunk/bin/kos32-tcc
KPACK = kpack
KLIBC = ../../../programs/develop/libraries/kolibri-libc
CFLAGS = -I $(KLIBC)/include
LDFLAGS = -nostdlib -L$(KLIBC)/lib $(KLIBC)/lib/crt0.o
all:
$(KTCC) $(CFLAGS) $(LDFLAGS) drv_test.c -o drv_test -lc.obj
$(KPACK) --nologo drv_test
clean:
rm *.kex