projects
/
uebersetzerbau-ss10.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
make: merge stderr and stdout
[uebersetzerbau-ss10.git]
/
asma
/
Makefile
1
NAME := asma
2
all: $(NAME).o
3
4
$(NAME).o: $(NAME).s
5
@echo " COMPILE $<"
6
@gcc -c -o $(NAME).o $(NAME).s
7
8
.PHONY: clean
9
clean:
10
rm -f $(NAME).o $(NAME)
11
12
1test: all
13
@echo " COMPILE $<"
14
@gcc -pedantic -ansi -Wall -g -o $(NAME) $(NAME).s main.c -D_GNU_SOURCE
15
@echo "execute ./$(NAME)"
16
@./$(NAME)
17
18
2test:
19
/usr/ftp/pub/ublu/test/$(NAME)/test 2>&1
20