mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
evil hack, but can build from "make dist" again
This commit is contained in:
parent
410783025e
commit
4bc167c5aa
2 changed files with 16 additions and 6 deletions
|
@ -160,9 +160,14 @@ CLEANFILES = *.i *.s $(YACCLEX_CLEANFILES)
|
||||||
|
|
||||||
sys_sdl.o: sys_sdl.c
|
sys_sdl.o: sys_sdl.c
|
||||||
@echo '$(COMPILE) $(SDL_CFLAGS) -c $<'; \
|
@echo '$(COMPILE) $(SDL_CFLAGS) -c $<'; \
|
||||||
$(COMPILE) $(SDL_CFLAGS) -Wp,-MD,.deps/$(*F).pp -c $<
|
if test -d .deps; then \
|
||||||
@-cp .deps/$(*F).pp .deps/$(*F).P; \
|
$(COMPILE) $(SDL_CFLAGS) -Wp,-MD,.deps/$(*F).pp -c $<; \
|
||||||
|
else \
|
||||||
|
$(COMPILE) $(SDL_CFLAGS) -c $<; \
|
||||||
|
fi
|
||||||
|
@-if test -d .deps; then cp .deps/$(*F).pp .deps/$(*F).P; \
|
||||||
tr ' ' '\012' < .deps/$(*F).pp \
|
tr ' ' '\012' < .deps/$(*F).pp \
|
||||||
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
||||||
>> .deps/$(*F).P; \
|
>> .deps/$(*F).P; \
|
||||||
rm .deps/$(*F).pp
|
rm .deps/$(*F).pp; \
|
||||||
|
fi
|
||||||
|
|
|
@ -175,9 +175,14 @@ CLEANFILES = *.i *.s $(YACCLEX_CLEANFILES)
|
||||||
|
|
||||||
cl_sys_sdl.o: cl_sys_sdl.c
|
cl_sys_sdl.o: cl_sys_sdl.c
|
||||||
@echo '$(COMPILE) $(SDL_CFLAGS) -c $<'; \
|
@echo '$(COMPILE) $(SDL_CFLAGS) -c $<'; \
|
||||||
$(COMPILE) $(SDL_CFLAGS) -Wp,-MD,.deps/$(*F).pp -c $<
|
if test -d .deps; then \
|
||||||
@-cp .deps/$(*F).pp .deps/$(*F).P; \
|
$(COMPILE) $(SDL_CFLAGS) -Wp,-MD,.deps/$(*F).pp -c $<; \
|
||||||
|
else \
|
||||||
|
$(COMPILE) $(SDL_CFLAGS) -c $<; \
|
||||||
|
fi
|
||||||
|
@-if test -d .deps; then cp .deps/$(*F).pp .deps/$(*F).P; \
|
||||||
tr ' ' '\012' < .deps/$(*F).pp \
|
tr ' ' '\012' < .deps/$(*F).pp \
|
||||||
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
||||||
>> .deps/$(*F).P; \
|
>> .deps/$(*F).P; \
|
||||||
rm .deps/$(*F).pp
|
rm .deps/$(*F).pp; \
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue