shithub: drawterm

ref: c2a244ab69976103216b7ff9f3738a14b93bd546
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)