12345678910111213141516171819202122232425262728293031 |
- CC ?= gcc
- TARGET_CFLAGS ?= -Wall -g -Iinc/ -I. $(CFLAGS) -pthread -ansi -pedantic
- TARGET_CLIBS ?= -g $(CLIBS) -pthread -lm
- TARGET_LDFLAGS ?= -g $(LDFLAGS)
- SERVER_CLIBS=$(TARGET_CLIBS)
- CLIENT_CLIBS=$(TARGET_CLIBS)
- 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
|