-ifneq ("$(CYGWIN)", "")
- #nullify the common variables that
- #most *nix systems have (for windows)
- PREFIX :=
- BINDIR :=
- DATADIR :=
- MANDIR :=
- QCVM = qcvm.exe
- GMQCC = gmqcc.exe
- TESTSUITE = testsuite.exe
-else
-ifneq ("$(MINGW)", "")
- #nullify the common variables that
- #most *nix systems have (for windows)
- PREFIX :=
- BINDIR :=
- DATADIR :=
- MANDIR :=
- QCVM = qcvm.exe
- GMQCC = gmqcc.exe
- TESTSUITE = testsuite.exe
-else
- #arm support for linux .. we need to allow unaligned accesses
- #to memory otherwise we just segfault everywhere
- ifneq (, $(findstring $(shell uname -m), "arm"))
- CFLAGS += -munaligned-access
- endif
+COBJS = $(CSRCS:.cpp=.o)
+TOBJS = $(TSRCS:.cpp=.o)
+VOBJS = $(VSRCS:.cpp=.o)