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
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)
23 @echo "no install support"
26 @echo "no uninstall support"
29 @echo "no package support"
32 .PHONY: install uninstall package