-
Notifications
You must be signed in to change notification settings - Fork 0
/
Make.win32
42 lines (36 loc) · 855 Bytes
/
Make.win32
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Windows via mingw32
# MING=mingw32- is necessary if you're cross-compiling
# on another platform. Otherwise the binaries are just
# named gcc, etc.
AUDIO=win32
MING=i686-w64-mingw32-
#MING=
AR=$(MING)ar
CC=$(MING)gcc
AS=$(MING)as
RANLIB=$(MING)ranlib
WINDRES=$(MING)windres
CFLAGS=-Wall -Wno-missing-braces -I$(ROOT)/include -I$(ROOT) -I$(ROOT)/kern -c -D_X86_ -DIS_32 -DWINDOWS -DUNICODE -O2
O=o
FS=fs-win32
IP=win32
OS=win32
GUI=win32
LDADD=-lkernel32 -ladvapi32 -lgdi32 -lmpr -lwsock32 -lws2_32 -lmsvcrt -lmingw32 -lwinmm
TARG=drawterm.exe
XOFILES=glenda-t.$O
# Windows via MSVC
#AR=???
#CC=cl
#CFLAGS=-c -nologo -W3 -YX -Zi -MT -Zl -Iinclude -DWINDOWS
#O=obj
#FS=fs-win32
#IP=win32
#OS=win32
#GUI=win32
all: default
# for root
libmachdep.a:
(cd win32-386; make)
glenda-t.$O: glenda-t.rc glenda-t.ico
$(WINDRES) -i glenda-t.rc -o glenda-t.o