-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
31 lines (24 loc) · 820 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
#GNU Makefile for JustUO on Linux systems
# sith@zuluhotel.ca
CC=mcs
LDFLAGS=-r:System.Drawing,OpenUO.Core.dll,OpenUO.Ultima.dll,OpenUO.Ultima.Windows.Forms.dll,SevenZipSharp.dll
OPTFLAGS=-optimize+
CFLAGS=-sdk:4 -d:MONO -unsafe -nowarn:219,414 -out:Server.exe
RECURSE=-recurse:'Server/*.cs'
DFLAGS=-debug
all: release
help:
@echo "Targets:"
@echo "configure: sets up client folder directory 'muls/'"
@echo "release: compiles Server binary with optimization flags"
@echo "debug: compiles Server binary with debugging symbols"
@echo "clean: removes Server binary"
configure:
mkdir muls
@echo "Folder muls/ created, you should put a copy of the client files here."
release:
$(CC) $(CFLAGS) $(LDFLAGS) $(OPTFLAGS) $(RECURSE)
debug:
$(CC) $(CFLAGS) $(LDFLAGS) $(DFLAGS) $(RECURSE)
clean:
rm Server.exe