-
Notifications
You must be signed in to change notification settings - Fork 7
/
makefile.emo
55 lines (44 loc) · 1.17 KB
/
makefile.emo
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Makefile for EMX GCC on OS/2 with GMAKE using OMF style linkage
# This will produce static standalone executables.
CC= gcc
EXENAMEFLAG=-o
CDEFS= -DOS2
COPT= -O2 -I.. -Wall -pedantic -c -Zomf -Wno-char-subscripts
LFLAGS= -Zomf -Zsys -s -Zlinker /PM:VIO
TPU=.tpu
OBJ=.obj
EXE=.exe
RM=cmd /c del
LIB=.lib
AR=emxomfar
AR_R=r
LINKFIDOCONFIG=fconfemo.lib
LINKSMAPI=../smapi/smapiemo.lib
LIBPREFIX=
FIDOCONFIG = fconfemo
FCONF2AQUAED = fconf2aquaed
FCONF2GOLDED = fconf2golded
FCONF2MSGED = fconf2msged
FCONF2FIDOGATE = fconf2fidogate
FCONF2SQUISH = fconf2squish
FCONF2TORNADO = fconf2tornado
FCONF2BINKD = fconf2binkd
FECFG2FCONF = fecfg2fconf
LIBFIDOCONFIG = $(LIBPREFIX)fconfemo
default: all
.SUFFIXES:
.SUFFIXES: .c .obj
include makefile.inc
all: commonlibs commonprogs
clean: commonclean
distclean: commondistclean
fconf.dll: $(LOBJS)
echo LIBRARY fconf > fconf.def
echo EXPORTS >> fconf.def
emxexp $(LOBJS) >> fconf.def
echo "curconfname" >> fconf.def
echo "hcfg" >> fconf.def
echo "curconfpos" >> fconf.def
$(CC) -Zdll -Zomf -Zcrtdll -Zlinker /PM:VIO -o fconf.dll fconf.def $(LOBJS) ../smapi/smapiemo.lib
emximp -o fconfemo.lib fconf.def
# emximp -o fconfemx.a fconf.def