Sha256: 7b78fc425e6855d04eb2bb92d7f4e72713473b44db75750a1ad8757f5f5f51ea

Contents?: true

Size: 612 Bytes

Versions: 50

Compression:

Stored size: 612 Bytes

Contents

LIBTOOL ?= libtool
LIBDIR ?= /usr/lib
CXX ?= g++
CXXFLAGS ?= -g -O3 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2

all: libpystring.la

pystring.lo: pystring.h pystring.cpp
	$(LIBTOOL) --mode=compile --tag=CXX $(CXX) $(CXXFLAGS) -c pystring.cpp

libpystring.la: pystring.lo
	$(LIBTOOL) --mode=link --tag=CXX $(CXX) -o $@ $< -rpath $(LIBDIR)

install: libpystring.la
	$(LIBTOOL) --mode=install install -c $< $(LIBDIR)/$<

clean:
	$(RM) -fr pystring.lo pystring.o libpystring.la .libs

.PHONY: test
test:
	$(RM) -fr test
	$(CXX) pystring.cpp test.cpp $(CXXFLAGS) -DPYSTRING_UNITTEST=1 -o test
	./test

Version data entries

50 entries across 49 versions & 6 rubygems

Version Path
ufos-1.0.94 ./other/experimental_code/pystring/Makefile
aliens-1.0.94 ./other/experimental_code/pystring/Makefile
freespeech-1.0.94 ./other/experimental_code/pystring/Makefile
elonmusk-1.0.94 ./other/experimental_code/pystring/Makefile
politics-1.0.94 ./other/experimental_code/pystring/Makefile
democracy-1.0.94 ./other/experimental_code/pystring/Makefile
democracy-1.0.93 ./other/experimental_code/pystring/Makefile
ufos-1.0.91 ./other/experimental_code/pystring/Makefile
aliens-1.0.91 ./other/experimental_code/pystring/Makefile
freespeech-1.0.91 ./other/experimental_code/pystring/Makefile
elonmusk-1.0.91 ./other/experimental_code/pystring/Makefile
politics-1.0.91 ./other/experimental_code/pystring/Makefile
politics-1.0.89 ./other/experimental_code/pystring/Makefile
ufos-1.0.87 ./other/experimental_code/pystring/Makefile
aliens-1.0.87 ./other/experimental_code/pystring/Makefile
freespeech-1.0.87 ./other/experimental_code/pystring/Makefile
elonmusk-1.0.87 ./other/experimental_code/pystring/Makefile
politics-1.0.87 ./other/experimental_code/pystring/Makefile
ufos-1.0.88 ./other/experimental_code/pystring/Makefile
aliens-1.0.88 ./other/experimental_code/pystring/Makefile