SOURCES = $(patsubst %.o,%.c,$(OBJECTS))
-TARGET = packihx
+TARGET = $(PRJDIR)/bin/packihx
all: $(TARGET)
install: all installdirs
- $(INSTALL) -s $(TARGET) $(bindir)/packihx
-
+ $(INSTALL) $(TARGET) `echo $(bindir)/packihx|sed '$(transform)'`
+ $(STRIP) `echo $(bindir)/packihx|sed '$(transform)'`
# Deleting all the installed files
# --------------------------------
checkconf:
-clean:
- rm -f *core *[%~] *.[oa] *.output
- rm -f .[a-z]*~ \#*
- rm -f packihx
-
-distclean: clean
- rm -f config.*
+include clean.mk