diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -26,7 +26,7 @@ DEFINES=-DVERSION='"$(VERSION)"' WARNFLAGS=-std=c89 -Wall -pedantic -Wextra CFLAGS=$(DEFINES) $(WARNFLAGS) $(MYCFLAGS) -.PHONY: all test man clean install +.PHONY: all test man clean install g++ clang++ clang all: uxd man @@ -56,3 +56,20 @@ ver.rst: clean: rm -f uxd + +# the rest of the targets are for portability testing. + +tcc: clean + $(MAKE) CC=tcc + +pcc: clean + $(MAKE) CC=pcc + +clang: clean + $(MAKE) CC=clang + +g++: clean + $(MAKE) CC=g++ WARNFLAGS="-Wall -Wno-write-strings -xc++" + +clang++: clean + $(MAKE) CC=clang++ WARNFLAGS="-Wall -Wno-write-strings -xc++" |