-
Notifications
You must be signed in to change notification settings - Fork 1
/
configure.project
48 lines (39 loc) · 1.07 KB
/
configure.project
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/bin/sh
# Project name and version
PACKAGE="unace"
VERSION="1.7w"
PACKAGE_URL=''
# Flags that will be used in all makefiles that compile code...
PROJECT_CFLAGS='-Wall -g -O2' # -Wextra -Wno-unused-parameter -Wno-missing-field-initializers
PROJECT_CXXFLAGS="${PROJECT_CFLAGS}"
PROJECT_CPPFLAGS=''
PROJECT_LDFLAGS=''
PROJECT_LXXFLAGS=''
PROJECT_LIBS=''
# Project type, use C to avoid checking for C++ compiler and stuff
# supported values: C, C++ ("" = C++)
PROJECT_TYPE=C
# Makefile
MK_SUBDIRS="src"
MK_DISTCLEAN_FILES=''
MK_CHECK='scripts/run-tests.sh'
# configure the project using the commands provided
# by `configure` and other scripts and commands/tools
w_main_func()
{
# GCC=yes if gcc has been detected
# if the Makefiles are only compatible with GNU make, use w_require_gnu_make
w_prefer_gnu_make
# check required headers and exit on error
w_check_headers_required stdio.h
}
# function to run after performing all checks
w_aftercheck_func()
{
printf ""
}
# function to run once everything is done, probably add stuff to config.h and config.mk
w_finish_func()
{
printf ""
}