[go: up one dir, main page]

File: compile.bat

package info (click to toggle)
libdate-calc-perl 6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,512 kB
  • ctags: 386
  • sloc: perl: 13,835; ansic: 3,080; sh: 14; makefile: 7
file content (23 lines) | stat: -rw-r--r-- 962 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@ECHO OFF

rem ###########################################################################
rem ##                                                                       ##
rem ##    Copyright (c) 1998 - 2009 by Steffen Beyer.                        ##
rem ##    All rights reserved.                                               ##
rem ##                                                                       ##
rem ##    This program is free software; you can redistribute it             ##
rem ##    and/or modify it under the same terms as Perl.                     ##
rem ##                                                                       ##
rem ###########################################################################

if "%1" == "" goto usage
if exist %1.c goto compile
    echo %0: file '%1.c' does not exist!
    goto exit
:usage
    echo Usage:  %0  main  [ other.c ]*
    goto exit
:compile
    cl -O2 -o %1 %1.c %2 %3 %4 %5 %6 %7 %8 %9
:exit