source: src/sen/Makefile @ b97a556

Last change on this file since b97a556 was ac25afd, checked in by Tomasz Obrebski <to@…>, 13 years ago

sen component added

  • Property mode set to 100644
File size: 419 bytes
RevLine 
[ac25afd]1include ../../config.mak
2
3ifeq ($(BUILD_STATIC), yes)
4  LDFLAGS += -static
5endif
6
7LDFLAGS +=
8CFLAGS += -O2
9
10sen: lex.yy.c
11        $(CC) $(CFLAGS) -o sen lex.yy.c -lfl $(LDFLAGS)
12
13lex.yy.c: sen.l
14        $(FLEX) sen.l
15
16.PHONY: install
17install:
18ifdef BIN_DIR
19        install -m 0755 sen $(BIN_DIR)
20endif
21
22.PHONY: uninstall
23uninstall:
24ifdef BIN_DIR
25        rm $(BIN_DIR)/sen
26endif
27
28clean: clean.flex
29        rm sen || true
30
31clean.flex:
32        rm lex.yy.c || true
Note: See TracBrowser for help on using the repository browser.