Remove sysconfig.h dependency for the host as well, and skip it on wii clean

This commit is contained in:
simon.kagstrom 2010-02-06 16:16:43 +00:00
parent 853bed122e
commit 43070ad2d9
3 changed files with 3 additions and 6 deletions

View File

@ -48,14 +48,11 @@ DEPS=$(patsubst %.cpp,deps/%.d,$(CPP_SRCS)) $(patsubst %.c,deps/%.d,$(C_SRCS))
TARGET=frodo
all: Src/sysconfig.h deps $(TARGET)
all: deps $(TARGET)
deps: $(DEPS)
-include $(DEPS)
Src/sysconfig.h: Src/sysconfig.h.Host-SDL
cp $< $@
clean:
rm -rf objs-host/* deps/* *.gcda *.gcno *~ $(TARGET) $(TARGET)-gcov

View File

@ -111,7 +111,7 @@ $(BUILD):
#---------------------------------------------------------------------------------
clean:
@echo clean ...
@rm -fr $(BUILD) $(OUTPUT).elf $(OUTPUT).dol Src/sysconfig.h Src/*.o \
@rm -fr $(BUILD) $(OUTPUT).elf $(OUTPUT).dol Src/*.o \
FrodoSC FrodoPC dist
dist: $(BUILD)

View File

@ -22,7 +22,7 @@
#if defined(GEKKO)
# include "sysconfig.h.Wii"
#else
# include "sysconfig.h"
# include "sysconfig.h.Host-SDL"
#endif
#include <stdio.h>