Files
weave-scope/experimental/example/Makefile
Tom Wilkie e8da5903f1 Small enhancements to the example app
- Explicity add go app to the example container, so it fails if you haven't built it.
- spin up 2 goapps and 3 elastic searches
2015-05-27 10:20:07 +00:00

17 lines
287 B
Makefile

CC=gcc
CFLAGS=-g -lpthread
%.o: %.c
$(CC) -c -o $@ $< $(CFLAGS)
all: qotd/qotd goapp/app
qotd/qotd: qotd/qotd.o
gcc -o $@ $< $(CFLAGS)
goapp/app: goapp/app.go
go build -ldflags "-extldflags \"-static\"" -tags netgo -o goapp/app ./goapp
clean:
rm -f qotd/*.o qotd/qotd goapp/app