If you're OK with compiler warnings, this can be golfed down to:
echo 'main(){printf("%u\\n",time(0));}'>epoch.c&&make epoch echo 'main(){printf("%u\\n",time(0));}'>epoch.c&&make epoch