shithub: drawterm

ref: f11139d4c918802a87730bc14d094670ee4ce572
dir: /Make.haiku/

View raw version
# Haiku
AR=ar
AS=as
RANLIB=ranlib
CC=gcc
CXX=g++
CFLAGS=-Wall -Wno-missing-braces -Wno-parentheses -ggdb -I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -D_THREAD_SAFE -D_POSIX_C_SOURCE -O2
O=o
OS=posix
GUI=haiku
AUDIO=haiku
LDADD=-ggdb -lbe -lnetwork -lmedia -lstdc++
LDFLAGS=
TARG=drawterm


all: default

libmachdep.a:
	arch=`uname -m|sed 's/BePC/386/; s/x86_64/amd64/; s/armv[567].*/arm/; s/aarch64/arm64/'`; \
	(cd posix-$$arch &&  make)