diff options
| author | Walker Thompson <walker.thompson@urz.uni-heidelberg.de> | 2026-06-03 21:29:42 +0200 |
|---|---|---|
| committer | Walker Thompson <walker.thompson@urz.uni-heidelberg.de> | 2026-06-03 21:29:42 +0200 |
| commit | 25b73b9e3afe877b08816a6eaab5c1e95b5cadfd (patch) | |
| tree | 82c1cf1263057e198abed6329ac76d863021e033 /Makefile | |
Initial commit
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..de44e79 --- /dev/null +++ b/Makefile @@ -0,0 +1,23 @@ +UNAME = $(shell uname) + +CXX = g++ + +ifneq ($(UNAME), FreeBSD) + WXFLAGS = `wx-config --cxxflags --libs` +endif +ifeq ($(UNAME),FreeBSD) + WXFLAGS:= `wxgtk3u-3.2-config --cxxflags --libs` + CXX:= clang++ +endif +ifeq ($(UNAME), OpenBSD) + CXX:= clang++ +endif + +CXXFLAGS = -std=c++11 -Wall -Wextra + +all: translit + +translit: translit.cpp + $(CXX) $(CXXFLAGS) -o translit translit.cpp $(WXFLAGS) +clean: + rm translit |
