Last change
on this file since 3b02b04 was
5f4d9c3,
checked in by Maciej Prill <mprill@…>, 13 years ago
|
Rewritten the build system, added lem UTF-8 version.
|
-
Property mode set to
100644
|
File size:
333 bytes
|
Rev | Line | |
---|
[5f4d9c3] | 1 | include ../../config.mak |
---|
| 2 | |
---|
| 3 | ifeq ($(BUILD_STATIC), yes) |
---|
| 4 | LDFLAGS += -static |
---|
| 5 | endif |
---|
| 6 | |
---|
| 7 | LDFLAGS += |
---|
| 8 | CFLAGS += -O2 |
---|
| 9 | |
---|
| 10 | rs12: |
---|
| 11 | $(CC) $(CFLAGS) rs12.c -o rs12 $(LDFLAGS) |
---|
| 12 | |
---|
| 13 | .PHONY: install |
---|
| 14 | install: |
---|
| 15 | ifdef BIN_DIR |
---|
| 16 | install -m 0755 rs12 $(BIN_DIR) |
---|
| 17 | endif |
---|
| 18 | |
---|
| 19 | .PHONY: uninstall |
---|
| 20 | uninstall: |
---|
| 21 | ifdef BIN_DIR |
---|
| 22 | rm $(BIN_DIR)/rs12 |
---|
| 23 | endif |
---|
| 24 | |
---|
| 25 | clean: |
---|
| 26 | rm rs12 || true |
---|
Note: See
TracBrowser
for help on using the repository browser.