Last change
on this file since f924e4b 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:
316 bytes
|
Rev | Line | |
---|
[5f4d9c3] | 1 | include ../../config.mak |
---|
| 2 | |
---|
| 3 | ifeq ($(BUILD_STATIC), yes) |
---|
| 4 | LDFLAGS += -static |
---|
| 5 | endif |
---|
| 6 | |
---|
| 7 | CFLAGS +=-O2 |
---|
| 8 | |
---|
| 9 | fla: |
---|
| 10 | $(CC) $(CFLAGS) fla.c -o fla $(LDFLAGS) |
---|
| 11 | |
---|
| 12 | .PHONY: install |
---|
| 13 | install: |
---|
| 14 | ifdef BIN_DIR |
---|
| 15 | install -m 0755 fla $(BIN_DIR) |
---|
| 16 | endif |
---|
| 17 | |
---|
| 18 | .PHONY: uninstall |
---|
| 19 | uninstall: |
---|
| 20 | ifdef BIN_DIR |
---|
| 21 | rm $(BIN_DIR)/fla |
---|
| 22 | endif |
---|
| 23 | |
---|
| 24 | clean: |
---|
| 25 | rm fla || true |
---|
Note: See
TracBrowser
for help on using the repository browser.