Add Makefile for old linux variants

GCC on Debian 7 is still C89 by default and it needs an extra library
for clock_gettime.
This commit is contained in:
Peter J. Holzer 2020-12-25 20:43:23 +01:00
parent f7da49b0c0
commit adb572a176
1 changed files with 4 additions and 0 deletions

4
C/Makefile.oldlinux Normal file
View File

@ -0,0 +1,4 @@
CFLAGS = -O9 -Wall -std=gnu99
LDFLAGS = -lrt
all: eratosthenes_1sec