-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathmakefile.inc
49 lines (40 loc) · 1.66 KB
/
makefile.inc
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
49
# $Id$
#
# Common makefiles part (include-file) for htick
# Use defines before including this file:
# _OBJ object files suffix begins with point (".o", ".obj", ... )
# _LIB library files suffix begins with point (".a", ".lib", ... )
# _DLL dinamic linking library files suffix begins with point (".dll", ".so", ...)
# LIBPREFIX library filename prefix ("lib", "", ...)
# LIBSUFFIX library filename suffix (compiler ID, three characters, somewhere empty)
# DLLPREFIX dynamic linking library prefix (usually empty)
# DLLSUFFIX dynamic linking library suffix (compiler ID or empty)
# O, B, L, H prefixes to use with names of objects, binaries, libraries and headers respectively
# Module name
LIBNAME = htick
# Version
VERMAJOR= 1
VERMINOR= 9
VERPATCH= 0
VERH = $(VERMAJOR).$(VERMINOR)
VER = $(VERH).$(VERPATCH)
# Sources directory
_SRC_DIR= ../src/
# Headers directory
H_DIR = ../h/
# Header files
HEADERS = $(H)add_desc.h $(H)htickafix.h ../cvsdate.h $(H)fcommon.h \
$(H)filecase.h $(H)filelist.h $(H)global.h $(H)hatch.h $(H)htick.h \
$(H)report.h $(H)scan.h $(H)seenby.h $(H)toss.h $(H)version.h
# Object files (please sort list to easy check by human)
OBJS1 = $(O)global$(_OBJ) $(O)add_desc$(_OBJ) $(O)htickafix$(_OBJ) $(O)clean$(_OBJ)
OBJS2 = $(O)fcommon$(_OBJ) $(O)filecase$(_OBJ) $(O)filelist$(_OBJ)
OBJS3 = $(O)hatch$(_OBJ) $(O)htick$(_OBJ) $(O)report$(_OBJ)
OBJS4 = $(O)scan$(_OBJ) $(O)seenby$(_OBJ) $(O)toss$(_OBJ)
OBJS = $(OBJS1) $(OBJS2) $(OBJS3) $(OBJS4)
# Object files: programs
PRGOBJS = $(OBJS)
# Binary file(s) to build from sources
PROGRAMS= $(B)$(LIBNAME)$(_EXE)
# List of libraries required to build binary file(s)
LIBS =