utt/Makefile
2009-04-23 18:05:27 +02:00

56 lines
1.1 KiB
Makefile

# Default target
.DEFAULT: all
# --- BEGIN CONFIGURATION ---
PROJECT_NAME = utt
PROJECT_VERSION = 0.0.1
PROJECT_PAGE = http://utt.wmi.amu.edu.pl
PROJECT_MAIL = utt@wmid.amu.edu.pl
DESTDIR =
prefix = /usr/local
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
sbindir = $(exec_prefix)/sbin
datarootdir = $(prefix)/share
datadir = $(datarootdir)
sysconfdir = $(prefix)/etc
sharedstatedir = $(prefix)/com
localstatedir = $(prefix)/var
CFLAGS = -g -O2 -Wall
LDFLAGS =
LDLIBS =
BFLAGS = -d
FFLAGS = -8 -f
ALL_CFLAGS = -DPROJECT_NAME="\"$(PROJECT_NAME)\"" \
-DPROJECT_VERSION="\"$(PROJECT_VERSION)\"" \
-DPROJECT_PAGE="\"$(PROJECT_PAGE)\"" \
-DPROJECT_MAIL="\"$(PROJECT_MAIL)\"" \
-DUTT_EXEC_PATH="\"$(bindir)\"" \
$(CFLAGS)
ALL_LDFLAGS = $(LDFLAGS)
ALL_LDLIBS = $(LDLIBS)
ALL_BFLAGS = $(BFLAGS)
ALL_FFLAGS = $(FFLAGS)
# --- END CONFIGURATION ---
.PHONY: all clean install uninstall
all:
make -C app compile
clean:
make -C app clean
install: all
echo TODO: make install
uninstall:
echo TODO: make uninstall