source: src/rs12/Makefile @ ac25afd

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