f0f7bd8a4f
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
44 lines
1.0 KiB
Plaintext
44 lines
1.0 KiB
Plaintext
#
|
|
# File: makefile.unx
|
|
# Author: Julian Smart
|
|
# Created: 1993
|
|
# Updated:
|
|
# Copyright:
|
|
#
|
|
# "%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
|