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