shithub: drawterm

ref: 82b1d4d6c238074e42e8721a4b8f0d3f7e62756d
dir: /gui-x11/Makefile/

View raw version
LIB=libx11.a
CC=gcc
CFLAGS=-I../include -I. -I/usr/X11R6/include -I../kern -c -ggdb -D_THREAD_SAFE -pthread
O=o

OFILES=\
	alloc.$O\
	cload.$O\
	draw.$O\
	load.$O\
	screen.$O\
	keysym2ucs-x11.$O

$(LIB): $(OFILES)
	ar r $(LIB) $(OFILES)
	ranlib $(LIB)

%.$O: %.c
	$(CC) $(CFLAGS) $*.c