Mercurial > repo
view interps/fukyorbrane/Makefile @ 11686:10d612def8ee draft
<b_jonas> perl -e for $e ("i","u"){ $f="bin/date$e"; open my$i,"<",$f or die "error open $f r"; local$/; $s=<$i> or die; $s=~s/"\\+%Y/\\${d:+-d "\\$d"} $&/ or die; open $o,">",$f or die "error open $f w: $!"; print $o $s or die; close $o or die; print "OK $f\\n" }
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Fri, 04 Jan 2019 21:29:08 +0000 |
parents | 859f9b4339e6 |
children |
line wrap: on
line source
CC=gcc CFLAGS=-O2 -g LDFLAGS= FYB_OBJS=fukyorbrane.o REPORT_OBJS=report.o REPORT_LIBS=-pthread .SUFFIXES: .c .o all: fukyorbrane report fukyorbrane: $(FYB_OBJS) $(CC) $(CFLAGS) $(LDFLAGS) $(FYB_OBJS) -o fukyorbrane report: $(REPORT_OBJS) $(CC) $(CFLAGS) $(LDFLAGS) $(REPORT_OBJS) $(REPORT_LIBS) -o report .c.o: $(CC) $(CFLAGS) -c $< clean: rm -f $(FYB_OBJS) fukyorbrane rm -f $(REPORT_OBJS) report