-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile
21 lines (14 loc) · 1.36 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
include version.mak
TARGET=$(PROJECT)_$(VER).zip
INSTALLDIR=~/Desktop/X-Plane\ 10/Resources/plugins
FILES=$(PROJECT)-ReadMe.html $(PROJECT)/lin.xpl $(PROJECT)/mac.xpl $(PROJECT)/win.xpl $(PROJECT)/32/win.xpl $(PROJECT)/64/lin.xpl $(PROJECT)/64/win.xpl $(PROJECT)/buildroutes.py $(PROJECT)/routes.txt $(PROJECT)/enhancedby_opensceneryx_logo.png $(PROJECT)/Osm_linkage.png $(PROJECT)/Tanker.dds $(PROJECT)/Tanker_LIT.dds $(PROJECT)/Aframax_tanker_Black.obj $(PROJECT)/Aframax_tanker_Blue.obj $(PROJECT)/Aframax_tanker_Grey.obj $(PROJECT)/Aframax_tanker_Sky.obj $(PROJECT)/Damen_2006_Green.obj $(PROJECT)/Damen_2006_Sky.obj $(PROJECT)/Damen_2006_Red.obj $(PROJECT)/Damen_2006_White.obj $(PROJECT)/Damen_2010.dds $(PROJECT)/Damen_2010_LIT.dds $(PROJECT)/Damen_2010.obj $(PROJECT)/Damen_4212.dds $(PROJECT)/Damen_4212_LIT.dds $(PROJECT)/Damen_4212_Blue.obj $(PROJECT)/Damen_4212_Green.obj $(PROJECT)/Damen_4212_Orange.obj $(PROJECT)/Damen_4212_Sky.obj $(PROJECT)/River_crossing.dds $(PROJECT)/River_crossing_LIT.dds $(PROJECT)/River_crossing.obj $(PROJECT)/wake.dds $(PROJECT)/wake_big.obj $(PROJECT)/wake_med.obj $(PROJECT)/wake_sml.obj
all: $(TARGET)
clean:
rm $(TARGET)
install: $(TARGET)
rm -rf $(INSTALLDIR)/$(PROJECT)
unzip -o -d $(INSTALLDIR) $(TARGET)
$(TARGET): $(FILES)
chmod +x $(PROJECT)/*.xpl $(PROJECT)/32/*.xpl $(PROJECT)/64/*.xpl
rm -f $(TARGET)
zip -MM $(TARGET) $+