kolibrios/drivers/examples/test/Makefile
Magomed Kostoev (mkostoevr) e1d4f4b8d9 [drivers][example] Make the example compile
- Rename `ksys_drv_ctl_t` to `ksys_ioctl_t`
- Change path to kolibri-libc (libc.obj)

git-svn-id: svn://kolibrios.org@9012 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-06 18:14:03 +00:00

13 lines
282 B
Makefile

KTCC=kos32-tcc
KPACK = kpack
KLIBC = ../../../programs/develop/ktcc/trunk/libc.obj
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