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
|
Rev | Line | |
---|
[d36b229] | 1 | # Default target |
---|
| 2 | .DEFAULT: all |
---|
| 3 | |
---|
| 4 | # --- BEGIN CONFIGURATION --- |
---|
| 5 | |
---|
| 6 | PROJECT_NAME = utt |
---|
| 7 | PROJECT_VERSION = 0.0.1 |
---|
| 8 | PROJECT_PAGE = http://utt.wmi.amu.edu.pl |
---|
| 9 | PROJECT_MAIL = utt@wmid.amu.edu.pl |
---|
| 10 | |
---|
| 11 | DESTDIR = |
---|
| 12 | |
---|
| 13 | prefix = /usr/local |
---|
| 14 | exec_prefix = $(prefix) |
---|
| 15 | bindir = $(exec_prefix)/bin |
---|
| 16 | sbindir = $(exec_prefix)/sbin |
---|
| 17 | datarootdir = $(prefix)/share |
---|
| 18 | datadir = $(datarootdir) |
---|
| 19 | sysconfdir = $(prefix)/etc |
---|
| 20 | sharedstatedir = $(prefix)/com |
---|
| 21 | localstatedir = $(prefix)/var |
---|
| 22 | |
---|
| 23 | CFLAGS = -g -O2 -Wall |
---|
| 24 | LDFLAGS = |
---|
| 25 | LDLIBS = |
---|
| 26 | BFLAGS = -d |
---|
| 27 | FFLAGS = -8 -f |
---|
| 28 | |
---|
| 29 | ALL_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) |
---|
| 35 | ALL_LDFLAGS = $(LDFLAGS) |
---|
| 36 | ALL_LDLIBS = $(LDLIBS) |
---|
| 37 | ALL_BFLAGS = $(BFLAGS) |
---|
| 38 | ALL_FFLAGS = $(FFLAGS) |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | # --- END CONFIGURATION --- |
---|
| 42 | |
---|
| 43 | .PHONY: all clean install uninstall |
---|
| 44 | |
---|
| 45 | all: |
---|
| 46 | make -C app compile |
---|
| 47 | |
---|
| 48 | clean: |
---|
| 49 | make -C app clean |
---|
| 50 | |
---|
| 51 | install: all |
---|
| 52 | echo TODO: make install |
---|
| 53 | |
---|
| 54 | uninstall: |
---|
| 55 | echo TODO: make uninstall |
---|
Note: See
TracBrowser
for help on using the repository browser.