Last active
August 18, 2016 10:20
-
-
Save ponyatov/eed80409cbf357219bda9f88efaf3904 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
log.log: src.src ./exe.exe | |
./exe.exe < $< > $@ && tail $(TAIL) $@ | |
C = cpp.cpp $(OS).cpp ypp.tab.cpp lex.yy.c | |
H = hpp.hpp $(OS).hpp ypp.tab.hpp meta.hpp | |
CXXFLAGS += -std=gnu++11 | |
./exe.exe: $(C) $(H) | |
$(CXX) $(CXXFLAGS) -o $@ $(C) $(L) | |
ypp.tab.cpp: ypp.ypp | |
bison $< | |
lex.yy.c: lpp.lpp | |
flex $< |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment