go-ircevent/example/Makefile
2010-10-15 12:44:14 +02:00

14 lines
219 B
Makefile

include $(GOROOT)/src/Make.inc
OBJS := $(patsubst %.go,%.$O,$(wildcard *.go))
OUT := $(patsubst %.$O,%,$(OBJS))
all: $(OBJS)
%.$O: %.go
$(GC) $<
$(LD) -o $(patsubst %.$O,%,$@) $@
clean:
rm -f *.$O $(OBJS) $(OUT)