source: src/fla/Makefile @ abd28d1

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