Skip to content

Instantly share code, notes, and snippets.

View Aearsis's full-sized avatar

Ondřej Hlavatý Aearsis

  • Czech Republic, mostly Prague
View GitHub Profile
@Aearsis
Aearsis / Makefile
Created February 22, 2017 14:20
Yet another Makefile for compiler principles
DU=$(notdir $(shell pwd))
ROOT=../../..
RO=${ROOT}/public-ro
TEST_PATH=${RO}/mlc/$(DU)/tests/
TESTS=$(shell echo $(TEST_PATH)/*.mls)
INTERMEDIATE=${DU}l.cpp ${DU}g.cpp ${DU}g.hpp
GEN_HPP=gen_ainstr.hpp gen_icopcodes.hpp gen_icinstr.hpp