2006-03-05 18:44:04 -05:00
|
|
|
all: $(MODNAME).$(DYNAMIC_LIB_EXTEN)
|
2005-11-12 16:27:19 -05:00
|
|
|
|
2006-03-05 18:44:04 -05:00
|
|
|
$(MODNAME).$(DYNAMIC_LIB_EXTEN): $(MODNAME).c
|
2006-12-16 18:22:45 -05:00
|
|
|
$(CC) $(CFLAGS) -c $(MODNAME).c -o $(MODNAME).o
|
2007-03-11 05:05:56 -04:00
|
|
|
$(LINK) $(SOLINK) $(MODNAME).o -o $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(LDFLAGS)
|
2005-11-12 16:27:19 -05:00
|
|
|
|
|
|
|
clean:
|
2007-03-11 05:05:56 -04:00
|
|
|
rm -fr *.$(DYNAMIC_LIB_EXTEN) *.o *~ .libs
|
2005-11-12 16:27:19 -05:00
|
|
|
|
2006-01-03 17:36:56 -05:00
|
|
|
install:
|
2007-03-11 05:05:56 -04:00
|
|
|
$(LTINSTALL) $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(DESTDIR)$(PREFIX)/mod
|