shithub: riscv

ref: 8ac89d66a50b7718ab4cefca9e3dad64af58d3d2
dir: /sys/src/cmd/unix/drawterm/Make.irix/

View raw version
# Unix
PTHREAD=	# for Mac
#PTHREAD=-pthread
AR=ar
AS=as
ASFLAGS=-c -mips3
RANLIB=true
X11=/usr/X11R6
#CC=gcc
#CFLAGS=-Wall -Wno-missing-braces -ggdb -I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -I$(X11)/include -D_THREAD_SAFE $(PTHREAD) -O2
CC=cc
CFLAGS=-g -O2 -I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -I$(X11)/include  -DIRIX
O=o
OS=posix
GUI=x11
LDADD=-L$(X11)/lib -lX11 -g -lpthread
LDFLAGS=$(PTHREAD)
TARG=drawterm
MAKE=gmake

all: default

libmachdep.a:
	(cd posix-mips && $(MAKE))