123456789101112131415161718192021222324252627282930313233 |
- CC ?= cc
- TARGET_CFLAGS ?= -Wall -g -I/usr/local/include -Iinc/ -I. $(CFLAGS) -pthread -ansi -pedantic
- TARGET_CLIBS ?= -g $(CLIBS) -L/usr/local/lib -lthr -lm
- TARGET_LDFLAGS ?= -g $(LDFLAGS)
- SERVER_CLIBS=$(TARGET_CLIBS)
- CLIENT_CLIBS=$(TARGET_CLIBS) -lGL -lXxf86vm -lX11 -lpng
- PREFIX ?= /usr/local
- include Makefile.base
- include Makefile.posixinstall
- $(TARGET): $(CLIENTOBJS)
- $(CC) -o $(TARGET) $(CLIENTOBJS) $(CLIENT_CLIBS)
- $(TARGET)-server: $(SERVEROBJS)
- $(CC) -o $(TARGET)-server $(SERVEROBJS) $(SERVER_CLIBS)
- install:
- @echo "no install support"
- uninstall:
- @echo "no uninstall support"
- package:
- @echo "no package support"
- .PHONY: install uninstall package
|