diff options
author | ben <ben@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2009-02-12 08:24:59 +0000 |
---|---|---|
committer | ben <ben@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2009-02-12 08:24:59 +0000 |
commit | 69359518d068a2bbad9023f60de1b5ef07dd0ffb (patch) | |
tree | ea6b4a1e9092ccfdabc3b223717e7d2cbbfa0e04 /windows | |
parent | 5a9c38452c9f167d8c9f9001aaa24304d31ab37a (diff) |
Makefile überarbeitet
git-svn-id: https://svn.neo-layout.org@1650 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'windows')
-rw-r--r-- | windows/kbdneo2/Treiber/Makefile | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/windows/kbdneo2/Treiber/Makefile b/windows/kbdneo2/Treiber/Makefile index 525d14c..adf5c08 100644 --- a/windows/kbdneo2/Treiber/Makefile +++ b/windows/kbdneo2/Treiber/Makefile @@ -1,23 +1,20 @@ -all: kbdneo32 kbdneo64 kbdneo_ahk +COMMON_FILES=reg_backup.bat reg_backup.bat kbdneo2_install.reg kbdneo2_uninstall.reg +BUILD_FILES=kbdneo32.zip kbdneo64.zip Ahk2Exe/kbdneo_ahk.exe -kbdneo32: reg_backup.bat kbdneo2_install.reg kbdneo2_uninstall.reg 32bit_Windows/kbdneo2.dll - mkdir -p kbdneo32 - cp reg_backup.bat kbdneo2_install.reg kbdneo2_uninstall.reg 32bit_Windows/kbdneo2.dll kbdneo32 - cd kbdneo32; zip -r kbdneo32 * - mv kbdneo32/kbdneo32.zip . +all: $(BUILD_FILES) -kbdneo64: reg_backup.bat kbdneo2_install.reg kbdneo2_uninstall.reg 64bit_Windows/kbdneo2.dll - mkdir -p kbdneo64 - cp reg_backup.bat kbdneo2_install.reg kbdneo2_uninstall.reg 64bit_Windows/kbdneo2.dll kbdneo64 - cd kbdneo64; zip -r kbdneo64 * - mv kbdneo64/kbdneo64.zip . +kbdneo%.zip: $(COMMON_FILES) %bit_Windows/kbdneo2.dll + mkdir -p kbdneo$* + cp $(COMMON_FILES) $*bit_Windows/kbdneo2.dll kbdneo$* + cd kbdneo$*; zip -r kbdneo$* * + mv kbdneo$*/kbdneo$*.zip . -kbdneo_ahk: /home/erik/Ahk2Exe/Ahk2Exe.exe /home/erik/Ahk2Exe/AutoHotkeySC.bin /home/erik/Ahk2Exe/upx.exe AHK_für_kbdneo2/neo_enabled.ico AHK_für_kbdneo2/kbdneo2.ahk +Ahk2Exe/kbdneo_ahk.exe: AHK_für_kbdneo2/neo_enabled.ico AHK_für_kbdneo2/kbdneo2.ahk cd AHK_für_kbdneo2; wine /home/erik/Ahk2Exe/Ahk2Exe.exe /in kbdneo2.ahk /out kbdneo_ahk.exe /icon neo_enabled.ico clean: rm -rf kbdneo32 kbdneo64 - rm -f kbdneo32.zip kbdneo64.zip - rm -f AHK_für_kbdneo2/kbdneo_ahk.exe + rm -f $(BUILD_FILES) .PHONY: all clean + |