X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c67d6888d421207045dc6ce9c9762727118c92e2..0fe243db0c0447b69917eaa6d3a0e32743229638:/samples/minimal/makefile.mic diff --git a/samples/minimal/makefile.mic b/samples/minimal/makefile.mic index e6e8fa3750..6cabbbfdcc 100644 --- a/samples/minimal/makefile.mic +++ b/samples/minimal/makefile.mic @@ -3,7 +3,11 @@ # Copyright (c) 2000 Martin Jolicoeur, Greg Haerr ############################################################################## -TOP=/home/julians/microwindows/microwindows-0.89pre8/src +TOP=$(MICROWINDOWS) +ifeq "$(MICROWINDOWS)" "" +TOP=/home/julians/local/microwindows/microwindows-0.89pre8/src +endif + CONFIG = $(TOP)/config WXDIR = ../.. OBJSUFF = o @@ -47,7 +51,6 @@ include $(TOP)/Makefile.rules # List of objects to compile OBJS = minimal.o -MTESTOBJS = mtest.o all: minimal @@ -60,9 +63,6 @@ all: minimal minimal: $(OBJS) $(MWINLIBS) $(WXLIB) $(TOP)/config $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ $(WXLIB) $(MWINLIBS) -lm -mtest: $(MTESTOBJS) $(MWINLIBS) $(TOP)/config - $(CC) $(CFLAGS) $(LDFLAGS) $(MTESTOBJS) -o $@ $(MWINLIBS) - #.SUFFIXES: .cpp .cxx .c #.c.o: @@ -74,12 +74,6 @@ mtest: $(MTESTOBJS) $(MWINLIBS) $(TOP)/config .cpp.o: $(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $*.cpp -#$(COMMDIR)/appcmn.o: $(COMMDIR)/appcmn.cpp -# $(CC) -c $(CPPFLAGS) -o $@ $*.cpp - -#appcmn.o: $(COMMDIR)/appcmn.cpp -# $(CC) $(CPPFLAGS) -c -o $@ $< - cleanwx: -$(RM) *.o -$(RM) minimal