瀏覽代碼

build: ensure .lolfx.cpp files get cleaned up.

legacy
Sam Hocevar sam 12 年之前
父節點
當前提交
6fe12e7811
共有 2 個檔案被更改,包括 4 行新增1 行删除
  1. +2
    -0
      src/Makefile.am
  2. +2
    -1
      test/tutorial/Makefile.am

+ 2
- 0
src/Makefile.am 查看文件

@@ -50,6 +50,8 @@ nodist_liblol_a_SOURCES = \
gpu/emptymaterial.lolfx.cpp
liblol_a_CPPFLAGS = @LOL_CFLAGS@

CLEANFILES = $(filter %.lolfx.cpp, $(SOURCES))

SUFFIXES = .lolfx
%.lolfx.cpp: %.lolfx
echo "/* This file was autogenerated. DO NOT MODIFY IT. */" > $@.tmp


+ 2
- 1
test/tutorial/Makefile.am 查看文件

@@ -8,7 +8,8 @@ all-local: $(noinst_PROGRAMS)

CLEANFILES = $(noinst_PROGRAMS:%$(EXEEXT)=%.self) \
$(noinst_PROGRAMS:%$(EXEEXT)=%.elf) \
$(noinst_PROGRAMS:%$(EXEEXT)=%.exe)
$(noinst_PROGRAMS:%$(EXEEXT)=%.exe) \
$(filter %.lolfx.cpp, $(SOURCES))

SUFFIXES = .lolfx
%.lolfx.cpp: %.lolfx


Loading…
取消
儲存