Makefile.linux 589 B

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