cgo-callback/Makefile

14 lines
149 B
Makefile
Raw Normal View History

2022-07-29 18:45:20 +00:00
GO=go
.PHONY: all
all: cgo-callback
mylib.o: mylib.c
cgo-callback: mylib.o mylib.h
$(GO) build
.PHONY: clean
clean:
rm -f mylib.o cgo-callback