ref: 2498fe015b9f932a05bbaba4c042e5c152b4c221
dir: /Makefile/
CC=cc CFLAGS +=-Dunix -pthread Lib=\ engine.o\ unix.o\ util.o\ netclient.o\ Cli= cli.o Srv= srv.o all: cli srv %.o: %.c %.h $(CC) $(CFLAGS) -c $< -o $@ cli: ${Cli} ${Lib} $(CC) $(CFLAGS) -o $@ ${Cli} ${Lib} srv: ${Srv} ${Lib} $(CC) $(CFLAGS) -o $@ ${Srv} ${Lib} clean: rm -f *.o *.5 *.6 *.7 *.8 cli srv