Makefile.freebsd 672 B

123456789101112131415161718192021222324252627282930313233
  1. CC ?= cc
  2. TARGET_CFLAGS ?= -Wall -g -I/usr/local/include -Iinc/ -I. $(CFLAGS) -pthread -ansi -pedantic
  3. TARGET_CLIBS ?= -g $(CLIBS) -L/usr/local/lib -lthr -lm
  4. TARGET_LDFLAGS ?= -g $(LDFLAGS)
  5. SERVER_CLIBS=$(TARGET_CLIBS)
  6. CLIENT_CLIBS=$(TARGET_CLIBS) -lGL -lXxf86vm -lX11 -lpng
  7. PREFIX ?= /usr/local
  8. include Makefile.base
  9. include Makefile.posixinstall
  10. $(TARGET): $(CLIENTOBJS)
  11. $(CC) -o $(TARGET) $(CLIENTOBJS) $(CLIENT_CLIBS)
  12. $(TARGET)-server: $(SERVEROBJS)
  13. $(CC) -o $(TARGET)-server $(SERVEROBJS) $(SERVER_CLIBS)
  14. install:
  15. @echo "no install support"
  16. uninstall:
  17. @echo "no uninstall support"
  18. package:
  19. @echo "no package support"
  20. .PHONY: install uninstall package