16 lines
169 B
Makefile
Executable File
16 lines
169 B
Makefile
Executable File
#cgic library.
|
|
|
|
.PHONY: all
|
|
|
|
all:libcgic.so
|
|
|
|
cgic.o:cgic.c
|
|
${CC} -fPIC -c $< -o $@
|
|
|
|
libcgic.so:cgic.o
|
|
${CC} -shared ${LDFLAGS} cgic.o -o $@
|
|
|
|
clean:
|
|
rm -f *.o *.so
|
|
|