# Targets in this directory...
#
-TARGETS = phpcups.so
+PHPCUPS = phpcups.so
#
# Make all targets...
#
-all: $(TARGETS)
+all: $(PHPCUPS)
#
#
clean:
- $(RM) $(OBJS) $(TARGETS)
+ $(RM) $(OBJS) $(PHPCUPS)
#
#
install: all
- echo Installing $(TARGETS) in $(PHPDIR)
+ echo Installing $(PHPCUPS) in $(PHPDIR)
$(INSTALL_DIR) $(PHPDIR)
- cp $(TARGETS) $(PHPDIR)
+ $(INSTALL_BIN) $(PHPCUPS) $(PHPDIR)
+
+
+#
+# Uninstall object and target files...
+#
+
+uninstall:
+ $(RM) $(PHPDIR)/$(PHPCUPS)
+ -$(RMDIR) $(PHPDIR)
#