-
Notifications
You must be signed in to change notification settings - Fork 5
/
MakefileII
80 lines (71 loc) · 2.84 KB
/
MakefileII
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# make file generated by gryphel build system
mk_COptionsCommon = -c -Wall -Wmissing-prototypes -Wno-uninitialized -Wundef -Wstrict-prototypes -IcfgII/ -Isrc/
mk_COptionsOSGLU = $(mk_COptionsCommon) -O3
mk_COptions = $(mk_COptionsCommon) -O3
mk_COptions += $(shell sdl2-config --cflags)
LIBS = -lm $(shell sdl2-config --libs)
.PHONY: TheDefaultOutput clean
TheDefaultOutput : minivmacII
bld/OSGLUSD2.o : src/OSGLUSD2.c src/STRCNENG.h cfgII/STRCONST.h src/INTLCHAR.h src/COMOSGLU.h src/CONTROLM.h cfgII/CNFGGLOB.h
gcc "src/OSGLUSD2.c" -o "bld/OSGLUSD2.o" $(mk_COptions)
bld/GLOBGLUE.o : src/GLOBGLUE.c cfgII/CNFGGLOB.h
gcc "src/GLOBGLUE.c" -o "bld/GLOBGLUE.o" $(mk_COptions)
bld/M68KITAB.o : src/M68KITAB.c cfgII/CNFGGLOB.h
gcc "src/M68KITAB.c" -o "bld/M68KITAB.o" $(mk_COptions)
bld/MINEM68K.o : src/MINEM68K.c src/FPMATHEM.h src/FPCPEMDV.h cfgII/CNFGGLOB.h
gcc "src/MINEM68K.c" -o "bld/MINEM68K.o" $(mk_COptions)
bld/VIAEMDEV.o : src/VIAEMDEV.c cfgII/CNFGGLOB.h
gcc "src/VIAEMDEV.c" -o "bld/VIAEMDEV.o" $(mk_COptions)
bld/VIA2EMDV.o : src/VIA2EMDV.c cfgII/CNFGGLOB.h
gcc "src/VIA2EMDV.c" -o "bld/VIA2EMDV.o" $(mk_COptions)
bld/IWMEMDEV.o : src/IWMEMDEV.c cfgII/CNFGGLOB.h
gcc "src/IWMEMDEV.c" -o "bld/IWMEMDEV.o" $(mk_COptions)
bld/SCCEMDEV.o : src/SCCEMDEV.c cfgII/CNFGGLOB.h
gcc "src/SCCEMDEV.c" -o "bld/SCCEMDEV.o" $(mk_COptions)
bld/RTCEMDEV.o : src/RTCEMDEV.c cfgII/CNFGGLOB.h
gcc "src/RTCEMDEV.c" -o "bld/RTCEMDEV.o" $(mk_COptions)
bld/ROMEMDEV.o : src/ROMEMDEV.c cfgII/CNFGGLOB.h
gcc "src/ROMEMDEV.c" -o "bld/ROMEMDEV.o" $(mk_COptions)
bld/SCSIEMDV.o : src/SCSIEMDV.c cfgII/CNFGGLOB.h
gcc "src/SCSIEMDV.c" -o "bld/SCSIEMDV.o" $(mk_COptions)
bld/SONYEMDV.o : src/SONYEMDV.c cfgII/CNFGGLOB.h
gcc "src/SONYEMDV.c" -o "bld/SONYEMDV.o" $(mk_COptions)
bld/SCRNEMDV.o : src/SCRNEMDV.c cfgII/CNFGGLOB.h
gcc "src/SCRNEMDV.c" -o "bld/SCRNEMDV.o" $(mk_COptions)
bld/VIDEMDEV.o : src/VIDEMDEV.c cfgII/CNFGGLOB.h
gcc "src/VIDEMDEV.c" -o "bld/VIDEMDEV.o" $(mk_COptions)
bld/MOUSEMDV.o : src/MOUSEMDV.c cfgII/CNFGGLOB.h
gcc "src/MOUSEMDV.c" -o "bld/MOUSEMDV.o" $(mk_COptions)
bld/ADBEMDEV.o : src/ADBEMDEV.c cfgII/CNFGGLOB.h
gcc "src/ADBEMDEV.c" -o "bld/ADBEMDEV.o" $(mk_COptions)
bld/ASCEMDEV.o : src/ASCEMDEV.c cfgII/CNFGGLOB.h
gcc "src/ASCEMDEV.c" -o "bld/ASCEMDEV.o" $(mk_COptions)
bld/PROGMAIN.o : src/PROGMAIN.c cfgII/CNFGGLOB.h
gcc "src/PROGMAIN.c" -o "bld/PROGMAIN.o" $(mk_COptions)
ObjFiles = \
bld/MINEM68K.o \
bld/OSGLUSD2.o \
bld/GLOBGLUE.o \
bld/M68KITAB.o \
bld/VIAEMDEV.o \
bld/VIA2EMDV.o \
bld/IWMEMDEV.o \
bld/SCCEMDEV.o \
bld/RTCEMDEV.o \
bld/ROMEMDEV.o \
bld/SCSIEMDV.o \
bld/SONYEMDV.o \
bld/SCRNEMDV.o \
bld/VIDEMDEV.o \
bld/MOUSEMDV.o \
bld/ADBEMDEV.o \
bld/ASCEMDEV.o \
bld/PROGMAIN.o \
minivmacII : $(ObjFiles)
gcc \
-o "minivmacII" \
$(ObjFiles) $(LIBS)
strip --strip-unneeded "minivmacII"
clean :
rm -f $(ObjFiles)
rm -f "minivmacII"