-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (22 loc) · 875 Bytes
/
Makefile
File metadata and controls
36 lines (22 loc) · 875 Bytes
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
36
# Makefile for WinxedXlib module
SRCDIR = src/
INCLUDEDIR = ./
PIRDIR = pir/
BUILDDIR = build/
all: $(BUILDDIR)GuitorNci.pbc $(BUILDDIR)Guitor.pbc
#---------------------------------------------------------------
# NCI
$(BUILDDIR)GuitorNci.pbc: $(PIRDIR)GuitorNci.pir
parrot -o $(BUILDDIR)GuitorNci.pbc $(PIRDIR)GuitorNci.pir
$(PIRDIR)GuitorNci.pir: $(SRCDIR)GuitorNci.winxed
winxed -c -o $(PIRDIR)GuitorNci.pir $(SRCDIR)GuitorNci.winxed
# Main module
$(BUILDDIR)Guitor.pbc: $(PIRDIR)Guitor.pir
parrot -o $(BUILDDIR)Guitor.pbc $(PIRDIR)Guitor.pir
$(PIRDIR)Guitor.pir: $(SRCDIR)Guitor.winxed $(INCLUDEDIR)Guitor.winxhead
winxed -c -o $(PIRDIR)Guitor.pir $(SRCDIR)Guitor.winxed
#---------------------------------------------------------------
clean:
rm -f $(BUILDDIR)Guitor.pbc $(BUILDDIR)GuitorNci.pbc \
$(PIRDIR)Guitor.pir $(PIRDIR)GuitorNci.pir
# End