source: Makefile @ d36b229

Last change on this file since d36b229 was d36b229, checked in by Mateusz Hromada <ruanda@…>, 16 years ago

Main Makefile created.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1# Default target
2.DEFAULT: all
3
4# --- BEGIN CONFIGURATION ---
5
6PROJECT_NAME = utt
7PROJECT_VERSION = 0.0.1
8PROJECT_PAGE = http://utt.wmi.amu.edu.pl
9PROJECT_MAIL = utt@wmid.amu.edu.pl
10
11DESTDIR =
12
13prefix = /usr/local
14exec_prefix = $(prefix)
15bindir = $(exec_prefix)/bin
16sbindir = $(exec_prefix)/sbin
17datarootdir = $(prefix)/share
18datadir = $(datarootdir)
19sysconfdir = $(prefix)/etc
20sharedstatedir = $(prefix)/com
21localstatedir = $(prefix)/var
22
23CFLAGS = -g -O2 -Wall
24LDFLAGS =
25LDLIBS =
26BFLAGS = -d
27FFLAGS = -8 -f
28
29ALL_CFLAGS = -DPROJECT_NAME="\"$(PROJECT_NAME)\"" \
30             -DPROJECT_VERSION="\"$(PROJECT_VERSION)\"" \
31             -DPROJECT_PAGE="\"$(PROJECT_PAGE)\"" \
32             -DPROJECT_MAIL="\"$(PROJECT_MAIL)\"" \
33             -DUTT_EXEC_PATH="\"$(bindir)\"" \
34             $(CFLAGS)
35ALL_LDFLAGS = $(LDFLAGS)
36ALL_LDLIBS = $(LDLIBS)
37ALL_BFLAGS = $(BFLAGS)
38ALL_FFLAGS = $(FFLAGS)
39
40
41# --- END CONFIGURATION ---
42
43.PHONY: all clean install uninstall
44
45all:
46        make -C app compile
47
48clean:
49        make -C app clean
50
51install: all
52        echo TODO: make install
53       
54uninstall:
55        echo TODO: make uninstall
Note: See TracBrowser for help on using the repository browser.