moth/packages/cowbull/src/Makefile

15 lines
171 B
Makefile
Raw Normal View History

2012-01-31 16:45:53 -07:00
DESTDIR ?= /tmp
2012-01-31 17:23:55 -07:00
build: cowd cowcli
2012-01-31 16:45:53 -07:00
cowcli: cowcli.c
$(CC) -o $@ -static $<
strip $@
2012-02-13 12:42:08 -07:00
upx $@
2012-01-31 16:45:53 -07:00
2012-01-31 17:23:55 -07:00
install: build
2012-01-31 16:45:53 -07:00
cp cowd cowcli $(DESTDIR)/bin/
clean:
rm -f cowd cowcli