diff options
author | Tom Stellard <tstellar@gmail.com> | 2010-12-07 23:26:52 -0800 |
---|---|---|
committer | Tom Stellard <tstellar@gmail.com> | 2010-12-07 23:26:52 -0800 |
commit | 107f4e5aa5def40ad42db49c0f5b46a7d64700a0 (patch) | |
tree | aafbee377e918137faa3abbee1ebfa054057c2a5 /Makefile |
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4c65015 --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +DEPS := $(OBJS:.o=.d) + +-include $(DEPS) + +debugger: instruction.o reg.o test_loader.o + g++ -o $@ $^ + +%.o: %.cpp + $(CXX) -MM -MF $(patsubst %.o,%.d,$@) $< + $(CXX) $(CXXFLAGS) -o $@ -c $< |