diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-07-16 06:49:57 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-07-16 06:49:57 (GMT) |
commit | 14f7f9f37702635019c46d97f57ee6de8c5c749e (patch) | |
tree | 219a9e255bb05c34731eb1f8d6ba79359422b928 /Nim/Makefile.inc | |
parent | f061668e3c1d5eac01b85303e2c81df2bc560e9a (diff) | |
download | swift-14f7f9f37702635019c46d97f57ee6de8c5c749e.zip swift-14f7f9f37702635019c46d97f57ee6de8c5c749e.tar.bz2 |
Added small Nim test program.
Diffstat (limited to 'Nim/Makefile.inc')
-rw-r--r-- | Nim/Makefile.inc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Nim/Makefile.inc b/Nim/Makefile.inc new file mode 100644 index 0000000..2008c6b --- /dev/null +++ b/Nim/Makefile.inc @@ -0,0 +1,16 @@ +NIM_TARGET = Nim/nim +NIM_SOURCES = \ + Nim/main.cpp +NIM_OBJECTS = \ + $(NIM_SOURCES:.cpp=.o) \ + +.PHONY: nim +nim: $(NIM_TARGET) + +$(NIM_TARGET): $(SWIFTEN_TARGET) $(NIM_OBJECTS) + $(QUIET_LINK)$(CXX) -o $(NIM_TARGET) $(NIM_OBJECTS) $(LDFLAGS) $(SWIFTEN_TARGET) $(LIBS) + +#TARGETS += $(NIM_TARGET) +CLEANFILES += $(NIM_OBJECTS) +DEPS += \ + $(NIM_SOURCES:.cpp=.dep) \ |