-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
36 lines (27 loc) · 872 Bytes
/
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
# type either "make linux", "make win32", or "make osx" to compile
help:
@echo You can use this Makefile in the following ways:
@echo make linux ............ Make Linux binaries
@echo make win32 ............ Make Win32 binaries
@echo make osx .............. Make Max OS X binaries
@echo make cleanlinux ....... Remove object files under Linux
@echo make cleanwin32 ....... Remove object files under Win32
@echo make cleanosx ......... Remove object files under Mac OS X
@echo make tests ............ Run Tests (requires /bin/sh)
linux :
mkdir -p bin
make -C src -f Makefile linux
win32 :
make -C src -f Makefile win32
osx :
make -C src -f Makefile osx
cleanlinux :
rm -rf bin
make -C src -f Makefile cleanlinux
cleanwin32 :
make -C src -f Makefile cleanwin32
cleanosx :
make -C src -f Makefile cleanosx
.PHONY: tests
tests: linux
make -C tests