Bochs/bochs-testing/plugin-test/test1-static/Makefile.in

29 lines
554 B
Makefile
Raw Normal View History

top_builddir = ..
2002-10-11 22:32:27 +04:00
srcdir = @srcdir@
VPATH = @srcdir@
CXX=@CXX@
CXXFLAGS=@CXXFLAGS@
LDFLAGS=@LDFLAGS@ @LT_LDFLAGS@
LIBTOOL=@LIBTOOL@
all: uselib
uselib: uselib.cc libmodule1.la
2002-10-11 22:32:27 +04:00
$(LIBTOOL) $(CXX) $(LDFLAGS) -o uselib $(srcdir)/uselib.cc libmodule1.la
libmodule1.la: module1.lo
$(LIBTOOL) $(CXX) $(LDFLAGS) -o libmodule1.la module1.lo
%.lo: %.cc
$(LIBTOOL) $(CXX) $(CXXFLAGS) -c $<
test:
@echo "*** Running test in `pwd`"
-./uselib
@echo "*** Test done in `pwd`"
clean:
-$(LIBTOOL) rm libmodule1.la module1.lo uselib.exe uselib
rm -rf .libs