Sfoglia il codice sorgente

Update makefile

Fix issue where librt wasn't linked in, which is sometimes required on certain systems.
necrophcodr 9 anni fa
parent
commit
7f6b126aa2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      makefile

+ 1
- 1
makefile Vedi File

@@ -1,6 +1,6 @@
1 1
 CC=g++
2 2
 CCFLAGS=-O2 -g
3
-LDFLAGS=-lX11 -lXext
3
+LDFLAGS=-lX11 -lXext -lrt
4 4
 SOURCES=main.cpp x.cpp options.cpp
5 5
 OBJECTS=$(SOURCES:.cpp=.o)
6 6
 EXECUTABLE=slop