forked from Mirrors/freeswitch
12 lines
318 B
Makefile
12 lines
318 B
Makefile
all: $(MODNAME).$(DYNAMIC_LIB_EXTEN)
|
|
|
|
$(MODNAME).$(DYNAMIC_LIB_EXTEN): $(MODNAME).c
|
|
$(CC) $(CFLAGS) -c $(MODNAME).c -o $(MODNAME).o
|
|
$(CC) $(SOLINK) $(MODNAME).o -o $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(LDFLAGS)
|
|
|
|
clean:
|
|
rm -fr *.$(DYNAMIC_LIB_EXTEN) *.o *~
|
|
|
|
install:
|
|
cp -f $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(PREFIX)/mod
|