From 25b73b9e3afe877b08816a6eaab5c1e95b5cadfd Mon Sep 17 00:00:00 2001 From: Walker Thompson Date: Wed, 3 Jun 2026 21:29:42 +0200 Subject: Initial commit --- Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.3