-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.win
39 lines (32 loc) · 1.78 KB
/
Makefile.win
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
# Project: amicmd
# Compiler: m68k-AmigaOS
# Compiler Type: MingW 3
# Makefile created by wxDev-C++ 6.10.2 on 24.11.08 21:40
CPP = m68k-amigaos-g++.exe
CC = m68k-amigaos-gcc.exe
WINDRES = windres.exe
OBJ = aos3/amicmd.o aos3/gui.o aos3/tools.o
LINKOBJ = aos3/amicmd.o aos3/gui.o aos3/tools.o
LIBS = -L"D:/devel/AmiDevCpp/usr/local/amiga/m68k-amigaos/lib" -L"D:/devel/AmiDevCpp/usr/local/amiga/m68k-amigaos/lib/libnix" -noixemul -s
INCS = -I"D:/devel/AmiDevCpp/usr/local/amiga/m68k-amigaos/sys-include" -I"D:/devel/AmiDevCpp/usr/local/amiga/m68k-amigaos/include" -I"D:/devel/AmiDevCpp/usr/local/amiga/include/g++-3"
CXXINCS = -I"D:/devel/AmiDevCpp/usr/local/amiga/m68k-amigaos/sys-include" -I"D:/devel/AmiDevCpp/usr/local/amiga/m68k-amigaos/include" -I"D:/devel/AmiDevCpp/usr/local/amiga/include/g++-3"
RCINCS = --include-dir "D:/devel/AmiDevCpp/" --include-dir "D:/devel/AmiDevCpp/"
BIN = amicmd_aos3.exe
DEFINES =
CXXFLAGS = $(CXXINCS) $(DEFINES) -s -noixemul
CFLAGS = $(INCS) $(DEFINES) -m68020 -Wall -s -noixemul
GPROF = gprof.exe
RM = rm -f
LINK = m68k-amigaos-g++.exe
.PHONY: all all-before all-after clean clean-custom
all: all-before $(BIN) all-after
clean: clean-custom
$(RM) $(OBJ) $(BIN)
$(BIN): $(OBJ)
$(LINK) $(LINKOBJ) -o "amicmd_aos3.exe" $(LIBS)
aos3/amicmd.o: $(GLOBALDEPS) src/amicmd.c src/muimacros.h src/gui.h src/tools.h src/amicmd.h
$(CC) -c src/amicmd.c -o aos3/amicmd.o $(CFLAGS)
aos3/gui.o: $(GLOBALDEPS) src/gui.c src/SDI_hook.h src/SDI_compiler.h src/gui.h src/amicmd.h
$(CC) -c src/gui.c -o aos3/gui.o $(CFLAGS)
aos3/tools.o: $(GLOBALDEPS) src/tools.c src/SDI_hook.h src/SDI_compiler.h src/gui.h src/tools.h src/amicmd.h
$(CC) -c src/tools.c -o aos3/tools.o $(CFLAGS)