Merge in Windows port using mingw and make.

This commit is contained in:
Russ Cox
2005-10-31 15:30:23 +00:00
parent d920d42c8b
commit 5d6ebf7a53
56 changed files with 730 additions and 978 deletions

View File

@ -1,7 +1,6 @@
ROOT=..
include ../Make.config
LIB=libdraw.a
CC=gcc
CFLAGS=-I../include -I. -c -ggdb -D_THREAD_SAFE -pthread
O=o
OFILES=\
alloc.$O\
@ -16,8 +15,8 @@ OFILES=\
rgb.$O
$(LIB): $(OFILES)
ar r $(LIB) $(OFILES)
ranlib $(LIB)
$(AR) r $(LIB) $(OFILES)
$(RANLIB) $(LIB)
%.$O: %.c
$(CC) $(CFLAGS) $*.c

View File

@ -1,18 +0,0 @@
<$DSRC/mkfile-$CONF
TARG=libdraw.$L
OFILES=\
alloc.$O\
arith.$O\
bytesperline.$O\
chan.$O\
defont.$O\
drawrepl.$O\
icossin.$O\
icossin2.$O\
rectclip.$O\
rgb.$O
HFILES=\
<$DSRC/mklib-$CONF