Skip to content

Commit

Permalink
Cron for Win32
Browse files Browse the repository at this point in the history
Recovered from old backups.  Don't even think it will work.  Comments in
spanish/catalan.
  • Loading branch information
gerard committed Feb 7, 2010
0 parents commit 7742efb
Show file tree
Hide file tree
Showing 8 changed files with 762 additions and 0 deletions.
27 changes: 27 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# MinGW for Linux (cross compilation)
CC=i586-mingw32msvc-gcc
RM=rm -f

## MinGW for Windows
#CC=gcc
#RM=del

all: cron.exe recron.exe

cron.exe: cron.o lexico.o sintactico.o
$(CC) -o cron.exe cron.o lexico.o sintactico.o

recron.exe: recron.c
$(CC) -o recron.exe recron.c

lexico.o: lexico.c lexico.h
$(CC) -c lexico.c

sintactico.o: sintactico.c sintactico.h lexico.h
$(CC) -c sintactico.c

cron.o: cron.c sintactico.h
$(CC) -c cron.c

clean:
$(RM) recron.exe cron.exe *.o
2 changes: 2 additions & 0 deletions conf.example/cronfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
4 tasklist
6 notepad
Loading

0 comments on commit 7742efb

Please sign in to comment.