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
/
caret
/
makefile.twn
< prev
next >
Wrap
Makefile
|
1999-05-27
|
1KB
|
44 lines
#
# File: makefile.unx
# Author: Julian Smart
# Created: 1993
# Updated:
# Copyright: (c) 1993, AIAI, University of Edinburgh
#
# "%W% %G%"
#
# Makefile for caret example (UNIX).
WXDIR = ../..
# All common UNIX compiler flags and options are now in
# this central makefile.
include $(WXDIR)/src/maketwin.env
OBJECTS = $(OBJDIR)/caret.$(OBJSUFF) $(OBJDIR)/caret_resources.$(OBJSUFF)
all: $(OBJDIR) caret$(GUISUFFIX)$(EXESUFF)
wx:
$(OBJDIR):
mkdir $(OBJDIR)
caret$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
$(CC) $(LDFLAGS) -o caret$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
$(OBJDIR)/caret.$(OBJSUFF): caret.$(SRCSUFF)
$(CC) -c $(CPPFLAGS) -o $@ caret.$(SRCSUFF)
caret_resources.c: caret.rc
$(RESCOMP) $(RCINPUTSWITCH) caret.rc $(RCOUTPUTSWITCH) caret_resources.c $(RESFLAGS)
$(OBJDIR)/caret_resources.$(OBJSUFF): caret_resources.c
$(CC) -c $(CPPFLAGS) -o $@ caret_resources.c
#$(OBJDIR)/caret_resources.o: caret.rc
# $(RESCOMP) $(RCINPUTSWITCH) caret.rc $(RCOUTPUTSWITCH) $(OBJDIR)/caret_resources.o $(RESFLAGS)
clean:
rm -f $(OBJECTS) caret$(GUISUFFIX).exe core *.rsc *.res