]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/widgets/makefile.mic
show the resize cursor when the mouse is above the grip and not only when it's just...
[wxWidgets.git] / samples / widgets / makefile.mic
... / ...
CommitLineData
1##############################################################################
2# Microwindows template Makefile
3# Copyright (c) 2000 Martin Jolicoeur, Greg Haerr
4##############################################################################
5
6TOP=$(MICROWINDOWS)
7ifeq "$(MICROWINDOWS)" ""
8TOP=/home/julians/local/microwindows/microwindows-0.89pre8/src
9endif
10
11CONFIG = $(TOP)/config
12WXDIR = ../..
13OBJSUFF = o
14SRCSUFF = cpp
15WXLIB=$(WXDIR)/lib/libwx.a
16AROPTIONS = ruv
17RANLIB = ranlib
18RM = rm -f
19
20ZLIBLIB = $(WXDIR)/lib/libzlib.a
21PNGLIB = $(WXDIR)/lib/libpng.a
22JPEGLIB = $(WXDIR)/lib/libjpeg.a
23TIFFLIB = $(WXDIR)/lib/libtiff.a
24
25include $(CONFIG)
26
27######################## Additional Flags section ############################
28
29# Directories list for header files
30INCLUDEDIRS += -I$(WXDIR)/include
31# Defines for preprocessor
32DEFINES += -DMWIN -D__WXMSW__ -D__WXMICROWIN__ -D__WXUNIVERSAL__ -D__WIN32__ -D__WIN95__ -DHAVE_BOOL -DMICROWIN_TODO=1 -D__UNIX__ -DHAVE_NANOSLEEP -DMICROWIN_NOCONTROLS -D__WXDEBUG__ -DwxSIZE_T_IS_UINT -DWXWIN_OS_DESCRIPTION="\"MicroWindows\""
33
34# Compilation flags for C files OTHER than include directories
35CFLAGS +=
36# Preprocessor flags OTHER than defines
37CPPFLAGS +=
38# Linking flags
39#LDFLAGS += -lwx -L$(WXDIR)/lib
40LDFLAGS += $(WXLIB)
41
42############################# targets section ################################
43
44# If you want to create a library with the objects files, define the name here
45LIBNAME =
46
47# If we put it below OBJS=, Makefile.rules includes .depend
48# and it continually looks for .c files to satisfy .o.cpp
49# dependency. What's going on there?
50include $(TOP)/Makefile.rules
51
52# List of objects to compile
53OBJS = widgets.o button.o combobox.o gauge.o listbox.o notebook.o radiobox.o slider.o spinbtn.o \
54 static.o textctrl.o
55
56all: widgets
57
58######################### Makefile.rules section #############################
59
60
61
62######################## Tools targets section ###############################
63
64widgets: $(OBJS) $(MWINLIBS) $(WXLIB) $(TOP)/config
65 $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ $(WXLIB) $(MWINLIBS) -lm
66
67#.SUFFIXES: .cpp .cxx .c
68
69#.c.o:
70# $(CC) -c $(CFLAGS) $(CFLAGS) -o $@ $*.c
71
72.cxx.o:
73 $(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $*.cxx
74
75.cpp.o:
76 $(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $*.cpp
77
78cleanwx:
79 -$(RM) *.o
80 -$(RM) widgets
81
82wx:
83 @pushd $(WXDIR)/src/msw; make -f makefile.mic all; popd
84
85wxfull:
86 @pushd $(WXDIR)/src/msw; make -f makefile.mic cleanwx all; popd