some meshgen and map rendering updates
[voxelands-alt.git] / Makefile.freebsd
blobcf16fe854c37341ff6aad6aa225b8ba9a2188c0b
1 CC ?= cc
3 TARGET_CFLAGS ?= -Wall -g -I/usr/local/include -Iinc/ -I. $(CFLAGS) -pthread -ansi -pedantic
4 TARGET_CLIBS ?= -g $(CLIBS) -L/usr/local/lib -lthr -lm
5 TARGET_LDFLAGS ?= -g $(LDFLAGS)
7 SERVER_CLIBS=$(TARGET_CLIBS)
9 CLIENT_CLIBS=$(TARGET_CLIBS) -lGL -lXxf86vm -lX11 -lpng
11 PREFIX ?= /usr/local
13 include Makefile.base
14 include Makefile.posixinstall
16 $(TARGET): $(CLIENTOBJS)
17         $(CC) -o $(TARGET) $(CLIENTOBJS) $(CLIENT_CLIBS)
19 $(TARGET)-server: $(SERVEROBJS)
20         $(CC) -o $(TARGET)-server $(SERVEROBJS) $(SERVER_CLIBS)
22 install:
23         @echo "no install support"
25 uninstall:
26         @echo "no uninstall support"
28 package:
29         @echo "no package support"
32 .PHONY: install uninstall package