source: translator/SynTree/Makefile @ 5c7fb6c

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newstringwith_gc
Last change on this file since 5c7fb6c was 6c3744e, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago

add list initializer, formatting changes

  • Property mode set to 100644
File size: 445 bytes
Line 
1CXX=g++
2CXXFLAGS=-g -Wall #-Wno-unused
3
4SRCS:=Type.cc Constant.cc Expression.cc Statement.cc CodeGenVisitor.cc
5OBJECTS:=$(SRCS:.cc=.o)
6DEPS:=$(SRCS:.cc=.d)
7
8# libSynTree.a:  $(OBJECTS)
9#       ar -rs $@ $(OBJECTS)
10#       $(CXX) $(CXXFLAGS) $(OBJS) -o $@ $(EXTRALIBS)
11
12%.d: %.cc
13        g++ -M $(CXXFLAGS) $< | sed -e '1s/^\(.*\)\.o/\1.d \1.o/' > $@
14
15all: $(OBJECTS)
16
17ifneq ($(MAKECMDGOALS),clean)
18include $(DEPS)
19endif
20
21clean:
22        rm -f cfa $(OBJECTS) $(DEPS) core
Note: See TracBrowser for help on using the repository browser.