drawterm/gui-x11/Makefile

21 lines
286 B
Makefile
Raw Normal View History

2005-08-08 14:50:13 +02:00
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