summaryrefslogtreecommitdiff
path: root/support/packihx/Makefile.in
blob: 10c7c61bcc98f925464bc4449d0a381f8e5378a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
PRJDIR          = ../..
VPATH           = @srcdir@
srcdir          = @srcdir@
top_builddir    = @top_builddir@

include $(PRJDIR)/$(top_builddir)/Makefile.common

OBJECTS 	= packihx.o

SOURCES		= $(patsubst %.o,%.c,$(OBJECTS))

TARGET		= $(PRJDIR)/$(top_builddir)/bin/packihx$(EXEEXT)

all: $(TARGET)

install: all installdirs
	$(INSTALL) $(TARGET) $(DESTDIR)$(bindir)/`echo packihx|sed '$(transform)'`$(EXEEXT)
	$(STRIP) $(DESTDIR)$(bindir)/`echo packihx|sed '$(transform)'`$(EXEEXT)

# Deleting all the installed files
# --------------------------------
uninstall:
	rm -f $(DESTDIR)$(bindir)/`echo packihx|sed '$(transform)'`$(EXEEXT)

# Performing self-test
# --------------------
check:


# Performing installation test
# ----------------------------
installcheck:


# Creating installation directories
# ---------------------------------
installdirs:
	$(INSTALL) -d $(DESTDIR)$(bindir)


# Creating dependencies
# ---------------------
dep:

$(TARGET): $(OBJECTS)
	$(CC) $(LDFLAGS) -o $@ $(OBJECTS)

.c.o:
	$(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@


checkconf:

include $(srcdir)/clean.mk