Main Makefile created.
This commit is contained in:
parent
2969c84f86
commit
d36b22978f
55
Makefile
Normal file
55
Makefile
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
# 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
|
Loading…
Reference in New Issue
Block a user