home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
lxapi32.zip
/
lxapilib
/
makefile
< prev
Wrap
Makefile
|
2002-04-26
|
2KB
|
64 lines
# $Id: makefile,v 1.2 2002/04/26 23:09:45 smilcke Exp $
#===================================================================
# Makefile for BT32 driver
#===================================================================
DEVTYPE=LXAPILIB
TARGET = lxapilib
#EVERYTHING_AS_CPP=1
32BIT=1
!Message ************************
!Message Building $(TARGET)
!Message ************************
!include ..\makes\paths.mak
!ifndef DRV_BASE
!error No DRV paths defined.
!endif
CINCLUDES = $(%WATCOM)\H;..\include;..\runtime;..\sblive
AINCLUDES = $(%DDK)\H
CDEFINES = -D__KERNEL__ -DMODULE -dTARGET_OS2
#===================================================================
#
# List of source files
#
#===================================================================
OBJ1 = lxapihlp.obj lxapilib.obj
OBJLAST =
OBJS = $(OBJ0) $(OBJ1) $(OBJ2) $(OBJ3) $(OBJ4) $(OBJ5) $(OBJ6) $(OBJ7) $(OBJ8) $(OBJ9) $(OBJLAST)
!include $(DRV_MAKES)\envchk.mak
!include $(DRV_MAKES)\common.mak
!include $(LX_MAINMAKE)
LNKFILE = $(DRV_OBJ)\$(TARGET).lrf
#===================================================================
#
# Specific dependencies
#
#===================================================================
all: $(TARGET).lib
$(LNKFILE): makefile
@%create $(LNKFILE)
@for %f in ($(OBJS)) do @%append $(LNKFILE) -+$(DRV_OBJ)\%f
$(TARGET).lib: $(LNKFILE) $(OBJS)
@echo ------------------- $^&.lib
$(LIB) $(TARGET).lib @$(LNKFILE)
clean: .SYMBOLIC
@if exist $(DRV_OBJ)\*.obj del $(DRV_OBJ)\*.obj
@if exist $(DRV_OBJ)\*.lrf del $(DRV_OBJ)\*.lrf
@if exist $(DRV_OBJ)\*.lst del $(DRV_OBJ)\*.lst
@if exist $(DRV_SRC)\*.err del $(DRV_SRC)\*.err
@if exist $(TARGET).lib del $(TARGET).lib