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
|
2006-03-05 18:44:04 -05:00
|
|
|
$(CC) $(SOLINK) $(MODNAME).o -o $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(LDFLAGS)
|
2005-11-12 16:27:19 -05:00
|
|
|
|
|
|
|
clean:
|
2006-03-05 18:44:04 -05:00
|
|
|
rm -fr *.$(DYNAMIC_LIB_EXTEN) *.o *~
|
2005-11-12 16:27:19 -05:00
|
|
|
|
2006-01-03 17:36:56 -05:00
|
|
|
install:
|
2006-03-05 18:44:04 -05:00
|
|
|
cp -f $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(PREFIX)/mod
|