summaryrefslogtreecommitdiff
path: root/app/xlockmore/etc/genlauncher/Makefile
blob: c387dce5b13e070e98aaf4974c85bebb4df5887b (plain)
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
# lex could really be flex
#LEX = lex
#LEXLIB = -ll
#CC = cc

LEX = flex
LEXLIB = -lfl
CC = gcc

#CC = cc -g
#CC = cc -Ac -g
#CC = cc -Xc -g
#CC = acc -g
#CC = CC -g
#CC = gcc -g -Wall -ansi -pedantic
#CC = gcc -g -Wall -W -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-prototypes -Wstrict-prototypes
#CC = g++ -g -Wall

RM = rm -f

all : xlockgen
	perl guibuild.pl

lex.yy.c : xlockgen.lex
	$(LEX) xlockgen.lex

xlockgen : lex.yy.c
	$(CC) lex.yy.c -o $@ $(LEXLIB)

clean :
	$(RM) core *~ *% *.bak *.orig *.rej make.log MakeOut *.patch *.exe

distclean : clean
	$(RM) xlockgen lex.yy.c xlockgen.exe