mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-13 07:05:12 +01:00
Add dist for host, cleanup .svn dirs
This commit is contained in:
parent
a8e5921841
commit
844c312792
@ -76,6 +76,21 @@ objs-host/%.o: %.c
|
||||
@install -d objs-host/$(dir $<)
|
||||
@$(CC) $(CFLAGS) $(DEFINES) -c -o $@ $< $(ERROR_FILTER)
|
||||
|
||||
dist-host: $(BUILD)
|
||||
rm -rf $@
|
||||
install -d $@/frodo
|
||||
install -d $@/frodo/images
|
||||
install -d $@/frodo/saves
|
||||
install -d $@/frodo/metadata
|
||||
install -d $@/frodo/tmp
|
||||
cp $(TARGET) $@/frodo/
|
||||
cp -rap themes $@/frodo/themes
|
||||
cp icon.png $@/frodo/
|
||||
find $@ -name ".svn" | xargs rm -rf
|
||||
cd $@ && tar -czf ../frodo-host-bin.tar.gz *
|
||||
|
||||
dist: dist-host
|
||||
|
||||
$(TARGET): $(OBJS)
|
||||
@echo LD $@
|
||||
@$(LD) $(LDFLAGS) -o $@ $+
|
||||
|
@ -125,6 +125,7 @@ dist: $(BUILD)
|
||||
cp -rap themes $@/apps/frodo/themes
|
||||
cp meta.xml $@/apps/frodo/
|
||||
cp icon.png $@/apps/frodo/
|
||||
find $@ -name ".svn" | xargs rm -rf
|
||||
cd $@ && tar -czf ../frodo-wii-bin.tar.gz *
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user