- CC = gcc
- DEFS = -fPIC -DPIC -shared @DEFS@
- CFLAG = -O2 -Wall -s
- COPTS = -I../.. -D@OS@ @OS_OPT@
- PROG = golem
- ALLOPT = $(CFLAG) $(COPTS)
- all: $(PROG)
- $(PROG):
- $(CC) $(ALLOPT) $(DEFS) $(PROG).c -o ec_$(PROG).so
- @echo
- @echo $(PROG) plugin is ready...
- @echo
- clean:
- rm -f *.bak
- rm -f ec_$(PROG).so
- distclean: clean
- rm -f Makefile