-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
42 lines (37 loc) · 1.18 KB
/
Makefile
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
message:
-@echo Specify one of the following toolset as the target of make:
-@echo make gcc (for MinGW - i386 build)
-@echo make gcc32s(for MinGW - i386 build Win32s)
-@echo make gccprf(for MinGW - i386 build profiling)
-@echo make gccdb (for MinGW - i386 bebug build)
-@echo make gcc64 (for MinGW64 - x86_64 build)
-@echo make dmc (for DigitalMars C++)
-@echo make bcc (for Borland C++ Compilers)
-@echo make vcc (for Microsoft Visual C++)
-@echo make wcc (for OpenWatcom C++)
-@echo Please make sure that the "make" program you're using is
-@echo the one from the toolset.
-@echo (GNU make for gcc, nmake for vcc, ... etc.)
clean:
-@rmdir /Q /S obj 2> nul
-@del /Q release\*.exe 2> nul
############################################################################
DMAK = make# Hey, why no $(MAKE)????
gcc:
$(MAKE) -f Makefiles/gcc.mak
dmc:
$(DMAK) -f Makefiles/dmc.mak
vcc:
$(MAKE) -f Makefiles/vcc.mak
bcc:
$(MAKE) -f Makefiles/bcc.mak
gcc64:
$(MAKE) -f Makefiles/gcc64.mak
gccdb:
$(MAKE) -f Makefiles/gccdb.mak
gcc32s:
$(MAKE) -f Makefiles/gcc32s.mak
gccprf:
$(MAKE) -f Makefiles/gccprf.mak
wcc:
$(MAKE) -f Makefiles/wcc.mak