55 lines
931 B
Makefile
55 lines
931 B
Makefile
|
# Generated automatically from Makefile.in by configure.
|
||
|
PRJDIR = ..
|
||
|
|
||
|
include $(PRJDIR)/Makefile.common
|
||
|
|
||
|
CFLAGS += -Wall
|
||
|
|
||
|
OBJECTS = packihx.o
|
||
|
|
||
|
SOURCES = $(patsubst %.o,%.c,$(OBJECTS))
|
||
|
|
||
|
TARGET = $(PRJDIR)/bin/packihx
|
||
|
|
||
|
all: $(TARGET)
|
||
|
|
||
|
install: all installdirs
|
||
|
$(INSTALL) $(TARGET) `echo $(bindir)/packihx|sed '$(transform)'`
|
||
|
$(STRIP) `echo $(bindir)/packihx|sed '$(transform)'`
|
||
|
|
||
|
# Deleting all the installed files
|
||
|
# --------------------------------
|
||
|
uninstall:
|
||
|
rm -f $(bindir)/packihx
|
||
|
|
||
|
# Performing self-test
|
||
|
# --------------------
|
||
|
check:
|
||
|
|
||
|
|
||
|
# Performing installation test
|
||
|
# ----------------------------
|
||
|
installcheck:
|
||
|
|
||
|
|
||
|
# Creating installation directories
|
||
|
# ---------------------------------
|
||
|
installdirs:
|
||
|
$(INSTALL) -d $(bindir)
|
||
|
|
||
|
|
||
|
# Creating dependencies
|
||
|
# ---------------------
|
||
|
dep:
|
||
|
|
||
|
$(TARGET): $(OBJECTS)
|
||
|
$(CC) -o $@ $(OBJECTS)
|
||
|
|
||
|
.c.o:
|
||
|
$(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
|
||
|
|
||
|
|
||
|
checkconf:
|
||
|
|
||
|
include clean.mk
|