utt/Makefile

58 lines
1.1 KiB
Makefile
Raw Normal View History

2009-04-23 18:05:27 +02:00
# Default target
.DEFAULT: all
# --- BEGIN CONFIGURATION ---
2009-04-30 17:08:40 +02:00
#
2009-04-23 18:05:27 +02:00
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