• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythonwindowsphpgamebathyscapheguic翻訳omegattwitterframeworkbtronvb.net計画中(planning stage)testdomarduinodirectxpreviewerゲームエンジン

Commit MetaInfo

Revision024db9e3488c8dbc34564f2875c532112c55fef9 (tree)
Time2020-10-14 06:45:09
AuthorLinux User <uaa@alpi...>
CommiterLinux User

Log Message

Make environment maintenance

GNU autotools is too difficult to use, replace simple Makefile and
use it for a while.

no need to refer auto-produced config.h, and specify release version
in Makefile (VER).

say good-bye to Makefile.am, config.h and configure next commit.

Change Summary

Incremental Difference

--- /dev/null
+++ b/Makefile
@@ -0,0 +1,53 @@
1+# SPDX-License-Identifier: Unlicense OR WTFPL
2+
3+VER="01.60"
4+
5+CC=cc
6+
7+CFLAGS = -Og -Wall -I/usr/local/include \
8+ -DPACKAGE_VERSION='$(VER)' -DVERSION='$(VER)'
9+LDFLAGS = -L/usr/local/lib -lusb -lwiringPi -lwiringPiDev -lcrypto
10+
11+ALL = dmonitor repeater_mon repeater_mon_light \
12+ repeater_scan rpt_conn dstar_ntpdate
13+
14+DMONITOR_OBJ = main.o dmonitor_utils.o init.o dmonitor_cmd.o \
15+ inet_read.o rig_read.o dvap_utils.o dvap.o \
16+ dvap_conf.o dvmega.o dvmega_conf.o dstar_data.o \
17+ crc.o send_msg.o dvmega_utils.o node_conf.o \
18+ node_utils.o from_node.o send_node.o PICinfo.o \
19+ lcd.o
20+REPEATER_MON_OBJ = repeater_mon.o
21+REPEATER_MON_LIGHT_OBJ = repeater_mon_light.o
22+REPEATER_SCAN_OBJ = repeater_scan.o
23+RPT_CONN_OBJ = rpt_conn.o rpt_conn_utils.o rpt_conn_dvap.o \
24+ rpt_dvap_utils.o rpt_conn_dvmega.o \
25+ rpt_dvmega_utils.o rpt_conn_rig.o \
26+ rpt_node_utils.o rpt_conn_send_msg.o \
27+ rpt_conn_scan.o crc.o rpt_conn_lcd.o
28+DSTAR_NTPDATE_OBJ = dstar_ntpdate.o
29+
30+ALL: $(ALL)
31+
32+clean:
33+ $(RM) -rf $(ALL) $(DMONITOR_OBJ) $(REPEATER_MON_OBJ) \
34+ $(REPEATER_MON_LIGHT_OBJ) $(REPEATER_SCAN_OBJ) \
35+ $(RPT_CONN_OBJ) $(DSTAR_NTPDATE_OBJ)
36+
37+dmonitor: $(DMONITOR_OBJ)
38+ $(CC) $(DMONITOR_OBJ) $(LDFLAGS) -o $@
39+
40+repeater_mon: $(REPEATER_MON_OBJ)
41+ $(CC) $(REPEATER_MON_OBJ) $(LDFLAGS) -o $@
42+
43+repeater_mon_light: $(REPEATER_MON_LIGHT_OBJ)
44+ $(CC) $(REPEATER_MON_LIGHT_OBJ) $(LDFLAGS) -o $@
45+
46+repeater_scan: $(REPEATER_SCAN_OBJ)
47+ $(CC) $(REPEATER_SCAN_OBJ) $(LDFLAGS) -o $@
48+
49+rpt_conn: $(RPT_CONN_OBJ)
50+ $(CC) $(RPT_CONN_OBJ) $(LDFLAGS) -o $@
51+
52+dstar_ntpdate: $(DSTAR_NTPDATE_OBJ)
53+ $(CC) $(DSTAR_NTPDATE_OBJ) $(LDFLAGS) -o $@