mirror of
https://github.com/0intro/conterm
synced 2024-11-25 23:19:36 +03:00
25 lines
308 B
Makefile
25 lines
308 B
Makefile
LIB=libdraw.a
|
|
CC=gcc
|
|
CFLAGS=-I../include -I. -c -ggdb -D_THREAD_SAFE -pthread
|
|
O=o
|
|
|
|
OFILES=\
|
|
alloc.$O\
|
|
arith.$O\
|
|
bytesperline.$O\
|
|
chan.$O\
|
|
defont.$O\
|
|
drawrepl.$O\
|
|
icossin.$O\
|
|
icossin2.$O\
|
|
rectclip.$O\
|
|
rgb.$O
|
|
|
|
$(LIB): $(OFILES)
|
|
ar r $(LIB) $(OFILES)
|
|
ranlib $(LIB)
|
|
|
|
%.$O: %.c
|
|
$(CC) $(CFLAGS) $*.c
|
|
|