summaryrefslogtreecommitdiff
path: root/2003/i/buzz/src/automate/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to '2003/i/buzz/src/automate/GNUmakefile')
-rw-r--r--2003/i/buzz/src/automate/GNUmakefile30
1 files changed, 0 insertions, 30 deletions
diff --git a/2003/i/buzz/src/automate/GNUmakefile b/2003/i/buzz/src/automate/GNUmakefile
deleted file mode 100644
index 0f0e9b7..0000000
--- a/2003/i/buzz/src/automate/GNUmakefile
+++ /dev/null
@@ -1,30 +0,0 @@
-SRCDIR = ..
-CXXFLAGS = -Wall -g
-CPPFLAGS = -I$(SRCDIR)
-
-TARGETS = grafcet.a
-grafcet_a_SOURCES = grafcet.cc receptivite.cc action.cc grammar.tab.cc lexer.cc
-
-all: $(TARGETS)
-
-grammar.tab.cc grammar.tab.hh: grammar.yy
- bison $<
-
-lexer.cc: lexer.ll grammar.tab.hh
- flex -o$@ $<
-
-grafcet.a: ${grafcet_a_SOURCES:%.cc=grafcet.a(%.o)}
-
-.dep/%.d: %.cc .dep
- @set -e; $(CC) -M $(CPPFLAGS) $< \
- | sed 's/\($*\)\.o[ :]*/\1.o .dep\/$*.d : /g' > $@; \
- [ -s $@ ] || rm -f $@
-
--include $(grafcet_a_SOURCES:%.cc=.dep/%.d)
-
-.dep:
- @mkdir .dep
-
-clean:
- rm -f $(TARGETS) *.o
- rm -rf .dep