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