File: Makefile

package info (click to toggle)
kaya 0.4.4-6.2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 5,200 kB
  • ctags: 2,015
  • sloc: cpp: 9,556; haskell: 7,253; sh: 3,060; yacc: 910; makefile: 816; perl: 90
file content (27 lines) | stat: -rw-r--r-- 627 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
KAYAC = ../compiler/kayac
bindir = ${exec_prefix}/bin
CXXFLAGS = -I../rts -O2
KAYAFLAGS =  -noenvlibs -I../stdlib -I../rts -I../libs -I../contrib \
	-deprfail -L ../rts -L ../stdlib -L ../libs -L ../contrib
INSTALLFLAGS = -m 644

SRCS = cursestest.k notgzip.k time.k webprog.k HTMLtest.k threadex.k \
	unittest.k upload.k sdltest.k lam.k lazylam.k

OBJS = cursestest notgzip time webprog.cgi HTMLtest threadex \
	unittest upload.cgi sdltest lam lazylam

all: ${OBJS}

clean:
	rm -f ${OBJS}

distclean: clean
	rm -f *~ Makefile 
	rm -rf autom4te.cache

% : %.k
	${KAYAC} $< ${KAYAFLAGS} 

%.cgi : %.k
	${KAYAC} $< ${KAYAFLAGS}