6809ee4b8e
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
36 lines
949 B
Plaintext
36 lines
949 B
Plaintext
# Purpose: makefile for makegen example (TWIN)
|
|
# Created: 2000-01-03
|
|
|
|
WXDIR = ../..
|
|
|
|
# All common UNIX compiler flags and options are now in
|
|
# this central makefile.
|
|
include $(WXDIR)/src/maketwin.env
|
|
|
|
OBJECTS = $(OBJDIR)/makegen.$(OBJSUFF) $(OBJDIR)/makegen.$(OBJSUFF)
|
|
|
|
all: $(OBJDIR) makegen$(GUISUFFIX)$(EXESUFF)
|
|
|
|
wx:
|
|
|
|
$(OBJDIR):
|
|
mkdir $(OBJDIR)
|
|
|
|
makegen$(GUISUFFIX)$(EXESUFF): $(OBJECTS) $(WXLIB)
|
|
$(CC) $(LDFLAGS) -o makegen$(GUISUFFIX)$(EXESUFF) $(OBJECTS) $(LDLIBS)
|
|
|
|
$(OBJDIR)/makegen.$(OBJSUFF): makegen.$(SRCSUFF)
|
|
$(CC) -c $(CPPFLAGS) -o $@ makegen.$(SRCSUFF)
|
|
|
|
makegen.c: makegen.rc
|
|
$(RESCOMP) $(RCINPUTSWITCH) makegen.rc $(RCOUTPUTSWITCH) makegen.c $(RESFLAGS)
|
|
|
|
$(OBJDIR)/makegen.$(OBJSUFF): makegen.c
|
|
$(CC) -c $(CPPFLAGS) -o $@ makegen.c
|
|
|
|
#$(OBJDIR)/makegen.o: makegen.rc
|
|
# $(RESCOMP) $(RCINPUTSWITCH) makegen.rc $(RCOUTPUTSWITCH) $(OBJDIR)/makegen.o $(RESFLAGS)
|
|
|
|
clean:
|
|
rm -f $(OBJECTS) makegen$(GUISUFFIX).exe core *.rsc *.res
|