mirror of
https://github.com/dirtbags/moth.git
synced 2025-01-09 05:20:54 -07:00
eb77d971c5
This required a fair amount of shuffling stuff around, as can be seen. Fortunately, now things ought to be able to run more or less standalone again. I also figured out a way to have the build system be a tad smarter about not rebuilding shared stuff, although you still install the exact same eris binary and /service subdirs for mcp and p2. But at least you only have to change one place in the source code now.
16 lines
292 B
Makefile
16 lines
292 B
Makefile
CFLAGS = -Wall -Werror
|
|
TARGETS = claim.cgi puzzler.cgi puzzles.cgi pointscli
|
|
TARGETS += tea bubblebabble
|
|
|
|
all: build
|
|
|
|
build: $(TARGETS)
|
|
|
|
pointscli: common.o
|
|
|
|
puzzles.cgi: puzzles.cgi.o common.o
|
|
claim.cgi: claim.cgi.o common.o
|
|
puzzler.cgi: puzzler.cgi.o common.o
|
|
|
|
clean:
|
|
rm -f $(TARGETS) *.o
|