Archived
1
0
Fork 0
This repository has been archived on 2024-10-19. You can view files and clone it, but cannot push or open issues or pull requests.
emacs/org/xeft/Makefile

24 lines
431 B
Makefile
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.POSIX:
# Even if this is unnecessary, it doesnt hurt.
PREFIX=/usr/local
CXX=g++
CXXFLAGS=-fPIC -I$(PREFIX)/include
LDFLAGS=-L$(PREFIX)/lib
LDLIBS=-lxapian
# Dylib extensions.
ifeq ($(OS),Windows_NT)
SOEXT = dll
endif
ifeq ($(shell uname),Darwin)
SOEXT = dylib
else
SOEXT = so
endif
xapian-lite.dll: module/xapian-lite.cc
$(CXX) $< -o $@ -static -municode -lWs2_32 $(CXXFLAGS) $(LDFLAGS) $(LDLIBS)
clean:
rm -f *.so *.o