#
# This makefile for GCC will be generate next files:
#
# ..\bin\kbdxkey.exe
#

# Name for binary (without path and extension)
NAME = kbdxkey

# Binary file extension (dll/exe)
EXT = exe

VERSION = 1.0.3
DESCRIPTION = Keyboard scan utility

# Uncomment next line to make debug version
# DEBUGCODE = YES

# Sources
SRCS = kbdxkey.c namestbl.c testkey.c ../common/utils.c pmhelpers.c

# Libraries (-Lpath -lname ...)
LIBS = -L../os2xkey -los2xkey -llibcrypto -llibssl

include ../common/makefile.begin


$(FILE_BIN): $(OBJS) $(FILE_DEF) $(FILE_RES)
	$(CC) $(FILE_DEF) $(LDFLAGS)
	$(LXLITE) >nul
	$(RC) $(RCLFLAGS)

$(FILE_DEF):
ifneq ($(DEBUGCODE),YES)
	@echo NAME $(NAME) windowapi >$@
	$(DESCRCMD) >>$@
else
	$(DESCRCMD) >$@
endif


include ../common/makefile.end
