-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
32 lines (27 loc) · 928 Bytes
/
makefile
File metadata and controls
32 lines (27 loc) · 928 Bytes
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
##
#
# Makefile for cfgfileHandler c++ object module
#
# Written and Maintained by :
# JP Langan
# 13186 15th Sreet S.
# Afton, MN 55001
# www.dyn-eng.com
# (651)206-5955
#
#
# 2025-09-15 - jpl; Initial file created to build a test routine and link to libraries
# Code tested and deeemed operational for beta release on GitHub
#
# 2025-09-27 - jpl; Added flags for warnings and unused variables to assist in final code cleanup
#
#
all: test_cfgfileHandler cfgfileHandler.o test_cfgfileHandler.o
CXX = g++
CFLAGS = -c -Wall -Wunused
cfgfileHandler.o : cfgfileHandler.cpp cfgfileHandler.h
$(CXX) $(CFLAGS) cfgfileHandler.cpp
test_cfgfileHandler.o : test_cfgfileHandler.cpp cfgfileHandler.h
$(CXX) $(CFLAGS) test_cfgfileHandler.cpp
test_cfgfileHandler : test_cfgfileHandler.o cfgfileHandler.o
$(CXX) -o test_cfgfileHandler test_cfgfileHandler.o cfgfileHandler.o -Wl,-Map=test_cfgfile.map