forked from KolibriOS/kolibrios
e1d4f4b8d9
- 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
13 lines
282 B
Makefile
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
|