home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
wxos2233.zip
/
wxOS2-2_3_3.zip
/
wxWindows-2.3.3
/
samples
/
splitter
/
makefile.twn
< prev
next >
Wrap
Makefile
|
2000-03-14
|
1KB
|
36 lines
# Purpose: makefile for splitter example (TWIN)
# Created: 2000-03-15
WXDIR = ../..
# All common UNIX compiler flags and options are now in
# this central makefile.
include $(WXDIR)/src/maketwin.env
OBJECTS = $(OBJDIR)/splitter.$(OBJSUFF) $(OBJDIR)/splitter.$(OBJSUFF)
all: $(OBJDIR) splitter$(GUISUFFIX)$(EXESUFF)
wx:
$(OBJDIR):
mkdir $(OBJDIR)
splitter$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
$(CC) $(LDFLAGS) -o splitter$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
$(OBJDIR)/splitter.$(OBJSUFF): splitter.$(SRCSUFF)
$(CC) -c $(CPPFLAGS) -o $@ splitter.$(SRCSUFF)
splitter.c: splitter.rc
$(RESCOMP) $(RCINPUTSWITCH) splitter.rc $(RCOUTPUTSWITCH) splitter.c $(RESFLAGS)
$(OBJDIR)/splitter.$(OBJSUFF): splitter.c
$(CC) -c $(CPPFLAGS) -o $@ splitter.c
#$(OBJDIR)/splitter.o: splitter.rc
# $(RESCOMP) $(RCINPUTSWITCH) splitter.rc $(RCOUTPUTSWITCH) $(OBJDIR)/splitter.o $(RESFLAGS)
clean:
rm -f $(OBJECTS) splitter$(GUISUFFIX).exe core *.rsc *.res