diff options
Diffstat (limited to 'app/xlockmore/etc/genlauncher/Makefile')
-rw-r--r-- | app/xlockmore/etc/genlauncher/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/app/xlockmore/etc/genlauncher/Makefile b/app/xlockmore/etc/genlauncher/Makefile new file mode 100644 index 000000000..c387dce5b --- /dev/null +++ b/app/xlockmore/etc/genlauncher/Makefile @@ -0,0 +1,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 |