wm: glendy

ref: 4700e18aeacd08e6c4eeabc5be695f1d6f9f1fbb
dir: /Makefile/

View raw version
CC=cc
CFLAGS=-Dunix

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