Browse Source

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

legacy
Sam Hocevar sam 12 years ago
parent
commit
6fe12e7811
2 changed files with 4 additions and 1 deletions
  1. +2
    -0
      src/Makefile.am
  2. +2
    -1
      test/tutorial/Makefile.am

+ 2
- 0
src/Makefile.am View File

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


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

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


+ 2
- 1
test/tutorial/Makefile.am View File

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


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


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


Loading…
Cancel
Save