Merge in Windows port using mingw and make.
This commit is contained in:
19
gui-win32/Makefile
Normal file
19
gui-win32/Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
ROOT=..
|
||||
include ../Make.config
|
||||
LIB=libgui.a
|
||||
|
||||
OFILES=\
|
||||
alloc.$O\
|
||||
cload.$O\
|
||||
draw.$O\
|
||||
load.$O\
|
||||
screen.$O\
|
||||
wstrtoutf.$O
|
||||
|
||||
$(LIB): $(OFILES)
|
||||
$(AR) r $(LIB) $(OFILES)
|
||||
$(RANLIB) $(LIB)
|
||||
|
||||
%.$O: %.c
|
||||
$(CC) $(CFLAGS) $*.c
|
||||
|
@ -1,14 +0,0 @@
|
||||
<$DSRC/mkfile-$CONF
|
||||
TARG=libgui.$L
|
||||
|
||||
OFILES=\
|
||||
alloc.$O\
|
||||
cload.$O\
|
||||
draw.$O\
|
||||
load.$O\
|
||||
screen.$O\
|
||||
wstrtoutf.$O
|
||||
|
||||
HFILES=\
|
||||
|
||||
<$DSRC/mklib-$CONF
|
@ -1,5 +1,4 @@
|
||||
#include <windows.h>
|
||||
// #include "winduhz.h"
|
||||
|
||||
#undef Rectangle
|
||||
#define Rectangle _Rectangle
|
||||
@ -564,9 +563,8 @@ clipreadutf(HANDLE h)
|
||||
return p;
|
||||
}
|
||||
|
||||
|
||||
uchar*
|
||||
clipread()
|
||||
char*
|
||||
clipread(void)
|
||||
{
|
||||
HANDLE h;
|
||||
uchar *p;
|
||||
|
Reference in New Issue
Block a user