wm: glendy

ref: 3eb06e8c2397928e76ee4880e83a7076c21c83f8
dir: /Makefile/

View raw version
CC=cc
#CFLAGS=-static

Lib=\
	engine.o\
	unix.o\
#	net.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