File: Makefile

package info (click to toggle)
lua-rexlib 2.9.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 556 kB
  • sloc: ansic: 3,985; makefile: 70
file content (35 lines) | stat: -rw-r--r-- 467 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Makefile for lrexlib

ifeq ($(DIRBIT),64)
MKFILES = \
  rex_onig.mak    \
  rex_pcre.mak    \
  rex_pcre2.mak   \
  rex_tre.mak
else
MKFILES = \
  rex_gnu.mak     \
  rex_onig.mak    \
  rex_pcre.mak    \
  rex_pcre2.mak   \
  rex_spencer.mak \
  rex_tre.mak
endif

LOOP = @for %%d in ($(MKFILES)) do $(MAKE) -f %%d

all: build test

build:
	$(LOOP)

test:
	$(LOOP) test

install:
	$(LOOP) install

clean:
	del *.o *.def *.dll

.PHONY: all build test install clean