2006-03-05 23:44:04 +00:00
|
|
|
all: $(MODNAME).$(DYNAMIC_LIB_EXTEN)
|
2005-11-12 21:27:19 +00:00
|
|
|
|
2006-03-05 23:44:04 +00:00
|
|
|
$(MODNAME).$(DYNAMIC_LIB_EXTEN): $(MODNAME).c
|
2006-01-03 22:36:56 +00:00
|
|
|
$(CC) $(CFLAGS) -fPIC -c $(MODNAME).c -o $(MODNAME).o
|
2006-03-05 23:44:04 +00:00
|
|
|
$(CC) $(SOLINK) $(MODNAME).o -o $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(LDFLAGS)
|
2005-11-12 21:27:19 +00:00
|
|
|
|
|
|
|
clean:
|
2006-03-05 23:44:04 +00:00
|
|
|
rm -fr *.$(DYNAMIC_LIB_EXTEN) *.o *~
|
2005-11-12 21:27:19 +00:00
|
|
|
|
2006-01-03 22:36:56 +00:00
|
|
|
install:
|
2006-03-05 23:44:04 +00:00
|
|
|
cp -f $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(PREFIX)/mod
|