2013-04-25 08:26:24 +00:00
|
|
|
CXXFLAGS += -g
|
2020-04-27 15:57:15 +00:00
|
|
|
CXX ?= g++
|
2006-06-13 22:30:14 +00:00
|
|
|
|
|
|
|
PROGS = worker
|
|
|
|
|
|
|
|
all: $(PROGS)
|
|
|
|
|
2013-04-26 20:46:28 +00:00
|
|
|
clean: distclean
|
2008-10-21 21:13:52 +00:00
|
|
|
|
2008-10-06 20:24:58 +00:00
|
|
|
distclean:
|
2021-08-16 13:55:54 +00:00
|
|
|
rm -f $(PROGS) $(addsuffix .exe, $(PROGS)) *.o
|
2006-06-13 22:30:14 +00:00
|
|
|
|
|
|
|
worker: worker.o
|
2020-04-27 15:57:15 +00:00
|
|
|
$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) -o worker worker.o
|
|
|
|
|
|
|
|
install: all
|
|
|
|
|
|
|
|
.PHONY: install all distclean clean
|