asmb: fixes fuer test.sh
authorBernhard Urban <lewurm@gmail.com>
Tue, 2 Mar 2010 21:35:25 +0000 (22:35 +0100)
committerBernhard Urban <lewurm@gmail.com>
Tue, 2 Mar 2010 21:35:25 +0000 (22:35 +0100)
asmb/Makefile
asmb/asmbtest.c [new symlink]
asmb/test.sh

index a4218dda0bb56dcf5093e34c7be85e9d5bb96777..9485d87d272b81022fd4f89535a01aa8a4cb3f39 100755 (executable)
@@ -7,7 +7,7 @@ $(NAME).o: $(NAME).s
 
 .PHONY: clean
 clean:
-       rm -f $(NAME).o $(NAME)
+       rm -f $(NAME).o $(NAME) *.trace *.tmp
 
 1test: all
        @echo "  COMPILE  $<"
diff --git a/asmb/asmbtest.c b/asmb/asmbtest.c
new file mode 120000 (symlink)
index 0000000..8a03e94
--- /dev/null
@@ -0,0 +1 @@
+main.c
\ No newline at end of file
index 914095600698563176ae74d4e3cef2a1e8a81dbb..01e1870ee61137a158ae9c79c91077ac8816831c 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+cd ~/abgabe/asmb
+make clean && make
 gcc -O -g -o asmbtest asmbtest.c asmb.o
 ./dumpinstr.sh asmbtest asmb
 rm -f asmbtest