go-xmpp/GNUmakefile
2019-01-10 23:36:50 +08:00

32 lines
467 B
Makefile

#
# Makefile for hookAPI
#
# switches:
# define the ones you want in the CFLAGS definition...
#
# TRACE - turn on tracing/debugging code
#
#
#
#
# Version for distribution
VER=1_0r1
MAKEFILE=GNUmakefile
# We Use Compact Memory Model
all: bin/example
@[ -d bin ] || exit
bin/example: _example/example.go xmpp.go xmpp_version.go
@[ -d bin ] || mkdir bin
go build -o $@ _example/example.go
@strip $@ || echo "example OK"
clean:
distclean: clean
@rm -rf bin