]> git.gag.com Git - fw/sdcc/blob - support/packihx/Makefile.in
Improved caching of pointers and division
[fw/sdcc] / support / packihx / Makefile.in
1 PRJDIR          = ../..
2 VPATH           = @srcdir@
3 srcdir          = @srcdir@
4 top_builddir    = @top_builddir@
5
6 include $(PRJDIR)/$(top_builddir)/Makefile.common
7
8 CFLAGS          += -Wall
9
10 OBJECTS         = packihx.o
11
12 SOURCES         = $(patsubst %.o,%.c,$(OBJECTS))
13
14 TARGET          = $(PRJDIR)/$(top_builddir)/bin/packihx$(EXEEXT)
15
16 all: $(TARGET)
17
18 install: all installdirs
19         $(INSTALL) $(TARGET) `echo $(DESTDIR)$(bindir)/packihx$(EXEEXT)|sed '$(transform)'`
20         $(STRIP) `echo $(DESTDIR)$(bindir)/packihx$(EXEEXT)|sed '$(transform)'`
21
22 # Deleting all the installed files
23 # --------------------------------
24 uninstall:
25         rm -f $(DESTDIR)$(bindir)/packihx$(EXEEXT)
26
27 # Performing self-test
28 # --------------------
29 check:
30
31
32 # Performing installation test
33 # ----------------------------
34 installcheck:
35
36
37 # Creating installation directories
38 # ---------------------------------
39 installdirs:
40         $(INSTALL) -d $(DESTDIR)$(bindir)
41
42
43 # Creating dependencies
44 # ---------------------
45 dep:
46
47 $(TARGET): $(OBJECTS)
48         $(CC) $(LDFLAGS) -o $@ $(OBJECTS)
49
50 .c.o:
51         $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
52
53
54 checkconf:
55
56 include $(srcdir)/clean.mk