X-Git-Url: http://git.squeep.com/?p=dcpu16;a=blobdiff_plain;f=Makefile;fp=Makefile;h=1ecac46d40f73f94e96b87c3c86e1bea893befdc;hp=4dcde613241b5595f8829ebf4fe6f0e34138e8c8;hb=8ff3b508f7306154413888901dc3af4fe3ef0cbf;hpb=33efa05d43acf927c97daab10c00d1cbc2a7b9f6 diff --git a/Makefile b/Makefile index 4dcde61..1ecac46 100644 --- a/Makefile +++ b/Makefile @@ -28,6 +28,8 @@ ifeq ($(UNAME),Linux) # linux needs _GNU_SOURCE for fopencookie # linux needs _XOPEN_SOURCE=600 (provided by _GNU_SOURCE) for getopt and strdup CPPFLAGS += -DHAVE_FOPENCOOKIE -D_GNU_SOURCE +# linux needs librt for clock_gettime +LDFLAGS += -lrt endif CPPFLAGS += -DHAVE_LIBVNCSERVER -DHAVE_LIBPNG