-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathwin32.mk
35 lines (26 loc) · 869 Bytes
/
win32.mk
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
# Win32 only distribution
main_target: Beremiz-nsis-installer.exe Beremiz-portable.zip
include $(src)/windows_installer.mk
ide_targets_from_dist:
touch $@
# TODO CANFESTIVAL
# TODO MODBUS
# TODO OPCUA
# DIST_FROM_SOURCE_PROJECTS=canfestival Modbus open62541
# ide_targets_from_dist: canfestival Modbus open62541
# touch $@
# canfestival_dir = installer/canfestival
# canfestival: $(canfestival_dir)/.stamp
# $(canfestival_dir)/.stamp: sources/canfestival_src | installer
# canfestival: $(canfestival_dir)/.stamp
# rm -rf $(canfestival_dir)
# cp -a sources/canfestival $(canfestival_dir)
# cd $(canfestival_dir); \
# ./configure --can=tcp_win32 \
# --cc=$(CC) \
# --cxx=$(CXX) \
# --target=win32 \
# --wx=0
# $(MAKE) -C $(canfestival_dir)
# cd $(canfestival_dir); find . -name "*.o" -exec rm {} ';' #remove object files only
# touch $@