| 1 | ############################################################################# |
| 2 | # |
| 3 | # Copyright (C) 1999 SciTech Software |
| 4 | # All rights reserved. |
| 5 | # |
| 6 | # Description: Generic makefile for the SciTech wxApplet library |
| 7 | # License: wxWindows license |
| 8 | # |
| 9 | ############################################################################# |
| 10 | |
| 11 | # We are building with the Win32 version |
| 12 | |
| 13 | USE_RTTI := 1 |
| 14 | USE_CPPEXCEPT := 1 |
| 15 | PRECOMP_HDR := wx/wxprec.h |
| 16 | CFLAGS += -D__WIN95__ -D__WXMSW__ -D__WINDOWS__ |
| 17 | |
| 18 | # Link with wxWindows static link libraries or with the DLL. DLL is default. |
| 19 | |
| 20 | .IF $(STATIC_LINK) |
| 21 | .ELSE |
| 22 | CFLAGS += -DWXUSINGDLL |
| 23 | .ENDIF |
| 24 | |
| 25 | # Define the library name and objects |
| 26 | |
| 27 | LIBFILE = wxapplet$L |
| 28 | LIBCLEAN = *.il? *.dll *.lib |
| 29 | OBJECTS := applet$O appletwindow$O |
| 30 | |
| 31 | DEPEND_OBJ = $(OBJECTS) |
| 32 | .INCLUDE: "$(SCITECH)\makedefs\common.mk" |
| 33 | |