4 top_builddir = @top_builddir@
6 include $(PRJDIR)/$(top_builddir)/Makefile.common
12 SOURCES = $(patsubst %.o,%.c,$(OBJECTS))
14 TARGET = $(PRJDIR)/$(top_builddir)/bin/packihx$(EXEEXT)
18 install: all installdirs
19 $(INSTALL) $(TARGET) `echo $(DESTDIR)$(bindir)/packihx$(EXEEXT)|sed '$(transform)'`
20 $(STRIP) `echo $(DESTDIR)$(bindir)/packihx$(EXEEXT)|sed '$(transform)'`
22 # Deleting all the installed files
23 # --------------------------------
25 rm -f $(DESTDIR)$(bindir)/packihx$(EXEEXT)
27 # Performing self-test
28 # --------------------
32 # Performing installation test
33 # ----------------------------
37 # Creating installation directories
38 # ---------------------------------
40 $(INSTALL) -d $(DESTDIR)$(bindir)
43 # Creating dependencies
44 # ---------------------
48 $(CC) $(LDFLAGS) -o $@ $(OBJECTS)
51 $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
56 include $(srcdir)/clean.mk