kolibrios/drivers/examples/test/Makefile
turbocat 14b216f2e8 - Added the simplest examples of drivers (fasm and kos32-gcc).
- Added a program for testing them.

git-svn-id: svn://kolibrios.org@8703 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-29 18:49:57 +00:00

13 lines
326 B
Makefile

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