Bläddra i källkod

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

legacy
Sam Hocevar sam 12 år sedan
förälder
incheckning
6fe12e7811
2 ändrade filer med 4 tillägg och 1 borttagningar
  1. +2
    -0
      src/Makefile.am
  2. +2
    -1
      test/tutorial/Makefile.am

+ 2
- 0
src/Makefile.am Visa fil

@@ -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 Visa fil

@@ -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


Laddar…
Avbryt
Spara