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